Acrylic doesn't work for published apps
See original GitHub issueDescribe the bug Acrylic doesn’t work when the app has been published, it only works when debugging.
To Reproduce Steps to reproduce the behavior:
- Create a new Avalonia MVVM project
- Set XAML to:
<Window ...
TransparencyLevelHint="AcrylicBlur"
Background="Transparent">
<Panel>
<ExperimentalAcrylicBorder IsHitTestVisible="False">
<ExperimentalAcrylicBorder.Material>
<ExperimentalAcrylicMaterial TintColor="Black"
TintOpacity="0.5"
MaterialOpacity="0.65"
BackgroundSource="Digger"/>
</ExperimentalAcrylicBorder.Material>
</ExperimentalAcrylicBorder>
</Panel>
</Window>
Expected behavior Acrylic should work for both debug AND published application.
Screenshots
Desktop (please complete the following information):
- OS: Windows 11
- Version: 21H2
- OS build: 22000.778
Issue Analytics
- State:
- Created a year ago
- Comments:18 (12 by maintainers)
Top Results From Across the Web
[FIX] Acrylic Effects Not Working On Windows 10 Virtual ...
1. Start Windows 10 virtual machine and make sure Transparency effects are On at Settings app > Personalization > Colors. · 2. Press...
Read more >Windows 10 Acrylic blur effect broken
Hi,I'm not exactly sure when it happend but I recently noticed that my taskbar and other Windows menus did not show that nice...
Read more >App crashes when setting Acrylic background | WinUI 3
I am making a WinUI 3 app in C++. I tried setting the backdrop of the window to acrylic but it does not...
Read more >Acrylic DNS Proxy
Acrylic DNS Proxy. Acrylic is a local DNS proxy for Windows which improves the performance of your computer by caching the responses coming...
Read more >A Comprehensive Guide to Gluing Acrylic
It works great for so many things – but not really for acrylic to acrylic. It does, however, work well for acrylic to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I apologize for a late answer, I just checked now and it is exactly that issue. Works fine now for me when I compiled it as win7-x64 using CLI instead of VS’s GUI.
Might be a duplicate of https://github.com/AvaloniaUI/Avalonia/issues/6028 then