Visual issues with WPF on Windows XP

We have a huge project in WPF.NET 4.0 that needs to support Windows XP SP3 and above. (hence the use of .NET 4.0) It doesn't have any problems on Windows 7 and 8 / 8.1. However, when running on Windows XP, we run into severe visual problems to the point where the application is unusable.
I searched a lot and came across some similar questions like this one , but none of the suggested solutions worked for us.
Here's a screenshot from Windows XP SP3: The
On Windows XP
weird thing here is that there is a "28" TextBlock clone that you see on the screen to the left of it. They have everything in common except their name, but the left doesn't work out properly!
And this is what it looks like (on a Windows 8.1 test machine):
On Windows 8.1
Some pages are even worse:
Calendar
When I remove AllowsTransparency from the main window, it looks like this on XP: (Note that there are no more problems with the title bar)
No Transparency
We are really stuck and have no clue as to its cause. Any help would be appreciated.

+3


source to share


1 answer


This problem seems to be related to the graphics card. In another virtual machine with a different graphics accelerator, we did not encounter any major problems. On the problematic test machine, we reduced the hardware acceleration to level 3 and the problem went away.
Display Properties -> Preferences -> Advanced -> Troubleshooting
Lowered Hardware Acceleration
While there are some small issues with some mice over animations, and we've lost the cursor acceleration benefits that bring to a spreadsheet, this is acceptable to us since little is expected from Windows XP.



+1


source







All Articles