right-clicking the tray icon focuses terminal *and* opens menu #14860

Closed
opened 2026-01-31 04:21:29 +00:00 by claunia · 3 comments
Owner

Originally created by @DHowett on GitHub (Aug 12, 2021).

Originally assigned to: @leonMSFT on GitHub.

Windows Terminal version (or Windows build number)

1.11

Other Software

No response

Steps to reproduce

as in title

Expected Behavior

No response

Actual Behavior

as in title

Originally created by @DHowett on GitHub (Aug 12, 2021). Originally assigned to: @leonMSFT on GitHub. ### Windows Terminal version (or Windows build number) 1.11 ### Other Software _No response_ ### Steps to reproduce as in title ### Expected Behavior _No response_ ### Actual Behavior as in title
Author
Owner

@leonMSFT commented on GitHub (Aug 14, 2021):

Yeah I really wanted to find a workaround even if bodgy around this 😢 -
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-trackpopupmenuex#remarks
image

@leonMSFT commented on GitHub (Aug 14, 2021): Yeah I really wanted to find a workaround even if bodgy around this 😢 - https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-trackpopupmenuex#remarks ![image](https://user-images.githubusercontent.com/57155886/129436170-9e57c396-49e0-4daf-9217-fcd816c9b5c9.png)
Author
Owner

@DHowett commented on GitHub (Aug 15, 2021):

oh no. I wonder how other applications get around it. Have an invisible window "hosting" the tray icon?

@DHowett commented on GitHub (Aug 15, 2021): _oh no_. I wonder how other applications get around it. Have an invisible window "hosting" the tray icon?
Author
Owner

@zadjii-msft commented on GitHub (Aug 16, 2021):

I guess we should check what PowerToys does. Theirs works the way we want 🤔

@zadjii-msft commented on GitHub (Aug 16, 2021): I guess we should check what PowerToys does. Theirs works the way we want 🤔
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14860