WPF rendering is ugly and blurry in Vista

Can someone explain why this simple WPF application looks so awful for Vista? I tried setting SnapsToDevicePixels, but that doesn't make any difference. This is a clean WPF application, nothing added except for one button. Using VS 2008 SP1. It looks perfect in the IDE, but it is screwed up when working. All WPF applications that I ran on this machine exhibit this behavior.

In a very strange thing: If I turn on the Vista Magnifier application, the rendering will be correct. It's amazing if this is my video driver (Geforce 8600).

In XP:

WPF button on XP http://img206.imageshack.us/img206/7339/wpfbuttonxp.png

In Vista:

WPF button in Vista http://img23.imageshack.us/img23/5660/wpfbuttonvista.png

Project Source: UglyButton.zip

+3
source share
4 answers

Updating video card drivers fixed the problem. My GeForce 8600 GT card. Previous drivers were 78.13 (7813). The new drivers are 82.50 (8250). Running Vista x64 with .NET 3.5 SP1.

+1
source

Why Vista matters, I don’t know ... For some reason I don’t see your images, but I had problems with pixel alignment and anti-aliasing in WPF in general, and this is <question href = "/ questions / 1702056 / anti-aliasing- artifacts-in-wpf "> can help you.

+2
source

? WPF ?


DpiScaling.exe 96 DPI? ?

, WPF/theming .


, SnapsToDevicePixels Button, (, ).

How about logging into another account and working under it?

0
source

This thing happened on my nvidia gforce laptop for my wpf, and it was the box I was going to make my demos into. I decided that it would be the Nvidia control panel (right-click on the desktop), and from there we’ll select an option that allows the 3D application to solve the image and rendering settings.

0
source

Source: https://habr.com/ru/post/1706382/


All Articles