WinUI 3 app started via debugger will always have unicolor (black) title bar #9987
Labels
area-AppWindow
area-LiveVisualTree
bug
Something isn't working
team-CompInput
Issue for IXP (Composition, Input) team
Describe the bug
WinUI 3 apps started via the Visual Studio debugger will always show a unicolor (black/white) title bar based on the Windows color theme. No Mica effect will be shown.
Setting
DWMWA_USE_IMMERSIVE_DARK_MODE
viaDwmSetWindowAttribute
has no influence here.Starting the app via start menu etc. will instead always show a light Mica title bar, which is the default and expected Win32 behavior.
Steps to reproduce the bug
Expected behavior
Same behavior for the title bar color if starting the app via Visual Studio debugger, or in other ways like start menu. Currently expected behavior would be a light Mica title bar.
Screenshots
Title bar when started via Visual Strudio:
Title bar when started via start menu:
NuGet package version
WinUI 3 - Windows App SDK 1.6.0: 1.6.240829007
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: