ExtendsContentIntoTitleBar with light theme in WASDK 1.4 barely visible maximize,minimize,close buttons
Describe the bug
barely visible maximize,minimize,close buttons
Steps to reproduce the bug
open WinUi 3 Gallery with light theme
ExtendsContentIntoTitleBar=true, App RequestedTheme="Light"
Expected behavior
clearly visible maximize,minimize,close buttons
Screenshots
NuGet package version
Windows App SDK 1.4.0: 1.4.230822000
Packaging type
No response
Windows version
Windows 10 version 22H2 (19045, 2022 Update)
IDE
No response
Additional context
No response
Interestingly, I have it the other way around.
What's more, I don't see this in a Windows API application.
So I am wondering if this is a WinUI 3 issue, not a Windows App SDK issue.
I have the same issue as you @vash72 . I build apps for Windows 11 and when I upgraded my recent project to Windows App SDK latest version (1.4.230822000) the Captions buttons had the same issues. I can't wait to see a fix soon !
I confirm, dark App, dark blue title bar (extended on), black system icons merely visible...
I confirm, dark App, dark blue title bar (extended on), black system icons merely visible...
if you to need the custom title bar in 1.4, you can move away from Window.ExtendsContentIntoTitleBar and use the new APIs under Window.AppWindow.TitleBar
public MainWindow()
{
AppWindow.TitleBar.ExtendsContentIntoTitleBar = true;
InitializeComponent();
}
AppWindow.TitleBar.IconShowOptions = IconShowOptions.HideIconAndSystemMenu;
I need them... Clearly visible... :)
same probleme here, but found a workaround (I am using MAUI)
AppWindow.TitleBar.ButtonForegroundColor = Microsoft.UI.Colors.Black; //Or white in dark mode
@vash72 it should work now with: Window.AppWindow.TitleBar.PreferredTheme = Microsoft.UI.Windowing.TitleBarTheme.UseDefaultAppMode;