Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double-click on XAML TitleBar icon doesn't close the window #9907

Open
whiskhub opened this issue Aug 18, 2024 · 0 comments
Open

Double-click on XAML TitleBar icon doesn't close the window #9907

whiskhub opened this issue Aug 18, 2024 · 0 comments
Labels
area-TitleBar Issues related to custom window title bars. bug Something isn't working team-Controls Issue for the Controls team

Comments

@whiskhub
Copy link

whiskhub commented Aug 18, 2024

Describe the bug

According to Windows app design guidelines, the icon in the app title bar should have the following behavior:

A single-click/tap on the icon should show system window menu.
A double-click/tap should close the window.

The icon in the new TitleBar element does not follow this guideline, i.e. the window does not close when double clicking on the icon, nor shows the system window menu on single click.

Steps to reproduce the bug

  1. Add a TitleBar element with an icon (IconSource) to the app
  2. Build and run the app
  3. Double-click on the icon in the title bar

Expected behavior

A single-click/tap on the icon should show system window menu.
A double-click/tap should close the window.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.6 Experimental 2: 1.6.240701003-experimental2

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@whiskhub whiskhub added the bug Something isn't working label Aug 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Aug 18, 2024
@codendone codendone added team-Controls Issue for the Controls team area-TitleBar Issues related to custom window title bars. and removed needs-triage Issue needs to be triaged by the area owners labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TitleBar Issues related to custom window title bars. bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants