Standard window icons (Close, Minimize,Maximize) disappear after minimizing when ExtendsContentIntoTitleBar is used #6789
Labels
area-TitleBar
Issues related to custom window title bars.
product-winui3
WinUI 3 issues
team-Reach
Issue for the Reach team
Describe the bug
When we use the
ExtendsContentIntoTitleBar
feature (as described in the docs) with the current WinUI 3 version, the standard icons at the top right (Close, Minimize, Maximize) disappear when the window was minimized. They reappear when hovering over the icons with the mouse.Before minimizing:
After minimizing:
Hovering over the icons:
Steps to reproduce the bug
Create a new WInUI 3 desktop application (using Visual Studio default tempalte), and add a customized title bar to the Main window following the docs: https://docs.microsoft.com/en-us/windows/apps/develop/title-bar?tabs=winui3
XAML:
Code behind:
Start the application. Verify that the icons at the top right (Close, Maximize, Minimize) are visible. Minimize the window and bring it back into view again. See that the icons disappeared.
Expected behavior
The standard icon (Close, Minimize, Maximize) should always be visible. They should never disappear.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.0
Windows app type
Device form factor
Desktop
Windows version
Windows 11 (21H2): Build 22000, Windows 10 (21H2): Build 19044
Additional context
No response
The text was updated successfully, but these errors were encountered: