-
Notifications
You must be signed in to change notification settings - Fork 9k
Fix right click on tabs closing them #19273
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
Conversation
|
Marking this as "to consider" for cherry pick as it's too hot for 1.23 stable |
| // so when it calls ReleasePointerCapture() in its PointerReleased handler, | ||
| // we get a PointerCaptureLost before we receive the PointerReleased event. | ||
| // This makes typical handling of PointerReleased events on our side difficult. | ||
| // Well, whatever, now we just hook PointerCaptureLost because we know WinUI will trigger it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm. is there a possible windows 10 vs 11 difference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. I would prefer testing this in a follow-up if you don't mind.
Co-authored-by: Dustin L. Howett <[email protected]>
I do not like this. ## Validation Steps Performed * Enable close buttons on tabs * Open a tab * Close the tab with middle click * Open a tab * Right click the tab * Tab doesn't close, Menu opens ✅ (cherry picked from commit 4a34a76) Service-Card-Id: PVTI_lADOAF3p4s4BBcTlzgeAlgM Service-Version: 1.24
I do not like this.
Validation Steps Performed