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

WinUI 3 - Unable to click X by going to the top right of a maximized window using custom title bar #8936

Closed
nlogozzo opened this issue Sep 29, 2023 · 3 comments
Labels
area-TitleBar Issues related to custom window title bars. area-Windowing bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team

Comments

@nlogozzo
Copy link

Describe the bug

Using this guide to create a tall titlebar: https://learn.microsoft.com/en-us/windows/apps/develop/title-bar?tabs=wasdk#system-caption-buttons

Steps to reproduce the bug

  1. Follow this guide to create a custom title bar: https://learn.microsoft.com/en-us/windows/apps/develop/title-bar?tabs=wasdk
  2. Run the app and maximize the window
  3. Drag your mouse to the top right of the screen and see that the X button is not activated
Recording.2023-09-29.124036.mp4

You can see from this video, my app that uses a tall title bar and PowerToys which uses a regular sized title bar (both with WinUI 3) are unable to click the close caption button when moving the mouse to the very top right of the screen.

Unlike Store (as shown in the capture) that is able to click the X button no problem.

Expected behavior

WinUI 3 apps with custom title bars should accept the mouse in the very top right of the screen and be able to click the close caption button as seen in Store, Settings, and every other WinUI 3 app.

Screenshots

Recording.2023-09-29.124036.mp4

NuGet package version

WinUI 3 - Windows App SDK 1.4.1: 1.4.230913002

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@nlogozzo nlogozzo added the bug Something isn't working label Sep 29, 2023
@MSEDGE-CORE
Copy link

It might be forgotten to remove window-resizing area in maxmized window. It's also not available to move window by dragging at the very top of the TitleBar.

@codendone codendone added team-CompInput Issue for IXP (Composition, Input) team area-TitleBar Issues related to custom window title bars. area-Windowing labels Oct 10, 2023
@Jay-o-Way
Copy link
Contributor

I assume this isn't fixed just yet?

@codendone
Copy link
Contributor

A fix has been checked in. Using #8665 as the main tracking bug.

@codendone codendone closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 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. area-Windowing bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

4 participants