Controls projecting shadow out of form bounds
Problem2.pngProblem.pngHello,
I woriking in windows 8.1 os for alot of years with visual studio. I have the latest version of visual studio 2019. Im working with c# winforms.The problem that i found is that whenever i drag and drop a control onto form and make the width of control same as form and choose a bright color,lets say Blue ,the control projects a shadow out of bounds of the form. And the shadow can bee seen if the background is another color , gray for example.I have attached a screeenshot with this problem.Any ideas?
Windows Forms
Visual Studio
-
Viorel 115.1K Reputation points
2024-06-06T20:45:14.0366667+00:00 Maybe the effect is only visible on monitor, not on screenshots.
-
Vasilis Katsikis 0 Reputation points
2024-06-06T20:50:46.9966667+00:00 zoom the image, to see it. I ve posted another picture
-
Viorel 115.1K Reputation points
2024-06-06T21:02:35.0033333+00:00 If it also happens in case of some specific test images, made in resized Paint, then it is probably not a problem of Forms application.
-
Vasilis Katsikis 0 Reputation points
2024-06-06T21:05:21.5866667+00:00 I tried with Paint and the same problem exists.So if its not a problem of Form's application , what could it be? I reinstalled vs.
-
Vasilis Katsikis 0 Reputation points
2024-06-06T21:07:06.15+00:00 I also reinstalled vs and , deleted the control and just paint it. Same...
-
Viorel 115.1K Reputation points
2024-06-06T21:12:54.7466667+00:00 Probably the monitor is unideal if it distorts the representations. (Maybe it needs some software or hardware adjustments). If possible, try other monitors or computers. And wait for other opinions.
-
Vasilis Katsikis 0 Reputation points
2024-06-06T21:17:55.98+00:00 Already tried my app in another pc, same....
-
Tianyu Sun-MSFT 29,451 Reputation points • Microsoft Vendor
2024-06-10T02:30:29.89+00:00 Hello @Vasilis Katsikis,
I zoom and check the images, don’t find the shadow you mentioned.
Can you confirm that this issue is not caused by GPU/GPU drive?
I notice that you tested on another machine, was the same type of monitor used(maybe try a different type of monitor)? Also, does this issue only appear on Windows 8.1?
If you try to check the images on other monitors/screens(like mobile phone screen), can you see the same shadow?
-
Vasilis Katsikis 0 Reputation points
2024-06-10T07:32:51.04+00:00 Good morning,
Thanks for answering. The other machine that i tested if completely different, mine is HP, the other one is ASUS. I formated my machine just to eliminate the suspicion that windows causes the problem. I cant know if my cpu/gpu is the problem , cause they work fine. Well sometimes very rarely my screen would go black and reappear cause driver was failing ,but after i updated everything was fine.And that was like years ago. I tested in my TV and couldnt see the shadow....I really dont know whats going on.
-
Viorel 115.1K Reputation points
2024-06-10T07:38:36.9233333+00:00 Instead of images that do not seem to reflect the problem, maybe you can take a photo with a digital camera or phone and send it.
-
Vasilis Katsikis 0 Reputation points
2024-06-10T07:57:21.1333333+00:00 Sadly i dont have digital camera.But i'll figure something else.
-
Tianyu Sun-MSFT 29,451 Reputation points • Microsoft Vendor
2024-06-11T07:00:44.1166667+00:00 Hi @Vasilis Katsikis,
I still didn’t see the shadow on above picture.
I notice that you mentioned your screen would go black, and driver would fail before you updated. Is it possible for you to contact the GPU/driver support to narrow down this issue and confirm that this issue isn’t caused by your GPU or driver? Maybe they can provide you some tools for checking/scanning your GPU/driver.
I also notice that you couldn’t see the shadow in your TV. Maybe it’s caused by displaying or rendering, related to the settings of VS/monitor and the limitation of monitor.
Sign in to comment