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

Tab bar RMB glitches #18112

Open
ChGen opened this issue Oct 26, 2024 · 3 comments
Open

Tab bar RMB glitches #18112

ChGen opened this issue Oct 26, 2024 · 3 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@ChGen
Copy link

ChGen commented Oct 26, 2024

Windows Terminal version

1.21.2911.0

Windows build number

10.0.26100.0

Other Software

No response

Steps to reproduce

Open Windows Terminal. Do Right Mouse Button click multiple times on the tab, shifting a cursor along tab header area. Note that sometimes you get Windows titlebar standard context menu (like on Alt+Space) instead of context menu of the current tab with completely different set of actions and design.
Also note, that in Dark Mode this system titlebar context menu is always white, while some Windows apps do change system menus to dark mode too (like VSCode, Notepad++, HWiNFO64).

Expected Behavior

While doing right mouse button click on the tab header area, correct type of context menu must be shown.

Actual Behavior

While doing right mouse button click on the tab header area, about 1 in 5 clicks shows Windows titlebar standard context menu (like on Alt+Space) instead of context menu of the tab clicked.

Image
Image

@ChGen ChGen added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Oct 26, 2024
@zadjii-msft
Copy link
Member

Oh this is a crazy XAML bug, that I noted once before here: #15744 (comment)

If you right-click on the menu (and then move your mouse off the menu), you get the window's title-bar context menu

lmao that's actually this hilarious XAML bug. If you right click on the shadow of any flyout, you get a system context menu. Literally makes no sense 🤣

I don't think we ever ended up filing this upstream, though we probably should

@ChGen
Copy link
Author

ChGen commented Oct 26, 2024

It's actually quite annoying bug, since you suddenly get different menu, with different actions and all-white too (in the dark mode) 😁

@carlos-zamora
Copy link
Member

Note for myself: this does repro on WinUI, but just WinUI 2 + Xaml Islands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

3 participants