Acrylic effect turns off after dragging window - Win10
Opened this issue · 0 comments
m1l commented
I have tried it with latest version and sample program
1 When Acrylic window is open the blur effect is good
2 While dragging window shows older blur effect
3 After mouse is released, the blur effect is completely turned off
Win10 21H1 but was the same with 20H2 the last time I checked
I have tried all 4 window examples. Built default FluentWPFSample and didn't change anything, .NET 4.6.1 is selected, built Release. Tried assigning nVidia or integrated graphics to the program. Windows is not modified in any way
Edit - temporary fix:
If I use set the state to Disabled while moving, then the ACCENT_ENABLE_ACRYLICBLURBEHIND
is correctly restored in WM_EXITSIZEMOVE
if (msg == WM_ENTERSIZEMOVE)
{
...
AcrylicWindow.SetBlur(win, AcrylicAccentState.Disabled);