Wpf window halo problem when resizing to two screens

The name pretty much describes it. If I resize my WPF application so that it stretches across two monitors in a dual-monitor configuration and resizes it, a ghost window will appear on the second monitor, which does nothing but still moves when I move the original window to the first screen .

Has anyone had such problems? I think this is an update error on some OS (I use WINXP 32 bit), but I would like to confirm this community.

+1
source share
3 answers

This is because AllowsTransparency is set to true. I have not decided the workaround yet, but as soon as I set it to false, I did not see the ghost.

+1
source

Yes, we get it a lot. This is usually associated with old equipment (for example, with an integrated graphics card), but it also happens on new (for example, quadro NVS 295 with the latest drivers). Sometimes the number of halos depends on the speed at which windows are dragged.

Again, we cannot play it on a quadro 450 or 290, so it seems to be a problem with the driver.

There are two ways to solve this problem: set AllowTransparency to false or disable HW acceleration.

Saying this, this is one of the small issues we encountered with WPF in multi-monitor environments ...

+1
source

Not. We have a WPF application in which there are some problems related to graphics (most of them I now consider), but not that. Maybe a problem with the driver?

0
source

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


All Articles