voidZiAD / WinBlur

WinBlur is a C#, VB .NET Library that allows developers to use modern blur types on their forms.
MIT License
36 stars 2 forks source link

Controls are not displayed correctly when HDR is enabled #11

Open Marvinware opened 2 months ago

Marvinware commented 2 months ago

Almost all controls, regardless of their settings, are not displayed correctly when HDR is enabled in Windows.

HDR Bug

voidZiAD commented 1 month ago

Does that happen only when HDR is enabled? Or all the time even without HDR enabled?

Marvinware commented 1 month ago

Only when HDR is activated. When HDR is deactivated, the problem does not occur.

voidZiAD commented 1 month ago

Thanks for clarifying. Didn't know that, and I thought that the library just got f*cked out of nowhere. I'll look into this and attempt a fix. Most likely what I'll have to do is implement code that disables HDR until the apps using WinBlur are closed, as there's probably no other fix.

voidZiAD commented 1 month ago

It seems like that's not the issue for all devices. I've looked into the issue, and me personally I don't even have an HDR setting on my computer, and I also see the same thing when it comes to controls on a WinBlur'd form. So, HDR isn't (or isn't the ONLY thing) that can cause this issue it seems. At the moment, I'm completely clueless tbh, and I don't really work on projects that much anymore so I can't say I will be able to fix this.