Describe the bug
In v12, TransparencyLevelHint="Transparent", does not seem to make the window transparent and instead produces a black background. AcrylicBlur, Blur, Mica seem to also reproduce the same issue where the background is black.
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:TestProject.ViewModels"
x:Class="TestProject.Views.Test2Window"
Width="400" Height="400"
Title="Test2Window"
Background="Transparent"
TransparencyLevelHint="Transparent"
WindowDecorations="None"
WindowStartupLocation="CenterScreen"
CanResize="False"
CanMaximize="False"
CanMinimize="False"
Topmost="True"
ExtendClientAreaToDecorationsHint="True">
I have also tried just not mentioning background but it reproduces the same issue
To Reproduce
- Be On Avalonia 12.0.0-rc2
- Make A New Window
- Use
TransparencyLevelHint="Transparent" In The Window Or Mica/Blur/AcrylicBlur etc.
- The Result Is A Black Background
Expected behavior
The Window Should Be Transparent As In Example 1 From Avalonia 11.3.13
However, The Window Is Black In Avalonia 12.0.0-rc2
Avalonia version
12.0.0-rc2
OS
Windows
Additional context
OS: Windows 11 25H2 (Build 26200.8037)
Avalonia: 12.0.0-rc2
Last Working Version (According To My Testing): 11.3.13
.NET: 10.0.201 SDK
Describe the bug
In v12,
TransparencyLevelHint="Transparent", does not seem to make the window transparent and instead produces a black background. AcrylicBlur, Blur, Mica seem to also reproduce the same issue where the background is black.I have also tried just not mentioning background but it reproduces the same issue
To Reproduce
TransparencyLevelHint="Transparent"In The Window Or Mica/Blur/AcrylicBlur etc.Expected behavior
The Window Should Be Transparent As In Example 1 From Avalonia 11.3.13
However, The Window Is Black In Avalonia 12.0.0-rc2
Avalonia version
12.0.0-rc2
OS
Windows
Additional context
OS: Windows 11 25H2 (Build 26200.8037)
Avalonia: 12.0.0-rc2
Last Working Version (According To My Testing): 11.3.13
.NET: 10.0.201 SDK