Changing Mica backdrop in ActualThemeChanged event causes backdrop to render wrong #10212
Labels
area-Materials
Reveal, Acrylic, lighting, etc.
team-CompInput
Issue for IXP (Composition, Input) team
Describe the bug
I want to change my tint opacity of mica when in dark mode. However when I switch darkmode, setting the tint opacity in the
ActualThemeChanged
event causes the entire backdrop to render completely wrong.I also notice that if I delay setting the TintOpacity override, or I don't override it at all, things render just fine.
Steps to reproduce the bug
Expected behavior
Dark mode renders correctly, regardless of if/when
TintOpacity
is applied.Screenshots
Untitled.Project.mp4
NuGet package version
Windows App SDK 1.2.1: 1.2.221116.1
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
Reproduced with 1.1.5, 1.2 preview, and 1.2.221116.1
The text was updated successfully, but these errors were encountered: