Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acrylic effect turns off after dragging window - Win10 #142

Open
m1l opened this issue Oct 1, 2021 · 0 comments
Open

Acrylic effect turns off after dragging window - Win10 #142

m1l opened this issue Oct 1, 2021 · 0 comments

Comments

@m1l
Copy link

m1l commented Oct 1, 2021

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

See the gif:
AcrylicEffectIssue

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant