no acrylic blur effect with ExperimentalAcrylicBorder #5604
-
Hello. I'm trying to use "ExperimentalAcrylicBorder" to get an acrylic blur effect in my app like Windows 10. But the effect appears for one second after starting the app only, then black background simply.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@FanIT minimum supported windows 10 build number is:
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Windows/Avalonia.Win32/WindowImpl.cs#L366 I think it may be that you need a newer build for acrylic to work on your machine, its falling back to FallbackColor. Even though UWP are showing acrylic blur, they are doing this via an internal api that Avalonia doesnt have access to, which is why we require even newer build. |
Beta Was this translation helpful? Give feedback.
-
@danwalmsley I had suspected that it wouldn't work for old versions Windows 10.
Thanks for the clarification. |
Beta Was this translation helpful? Give feedback.
-
@danwalmsley I have one more question. Why hiding a icon on taskbar doesn't work? |
Beta Was this translation helpful? Give feedback.
@FanIT minimum supported windows 10 build number is:
bool canUseAcrylic = Win32Platform.WindowsVersion.Major > 10 || Win32Platform.WindowsVersion.Build >= 19628;
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Windows/Avalonia.Win32/WindowImpl.cs#L366
I think it may be that you need a newer build for acrylic to work on your machine, its falling back to FallbackColor.
Even though UWP are showing acrylic blur, they are doing this via an internal api that Avalonia doesnt have access to, which is why we require even newer build.