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

fix: do not use CONTEXT_MENU flag for tray menu #23843

Merged
merged 1 commit into from Jun 1, 2020
Merged

Conversation

zcbenz
Copy link
Member

@zcbenz zcbenz commented May 29, 2020

Description of Change

Close #11587.

Tray menu does not popup on a window, so it should not use CONTEXT_MENU flag otherwise some things would not work. The workaround used in #15302 stopped working after some Chromium upgrades.

This PR makes our tray menu code aligned with Chromium status_icon_win.cc.

Release Notes

Notes: Fix tray menu on Windows not keyboard navigable.

@zcbenz zcbenz requested a review from ckerr May 29, 2020 06:30
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label May 29, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label May 30, 2020
@ckerr ckerr merged commit b809d10 into master Jun 1, 2020
@release-clerk
Copy link

release-clerk bot commented Jun 1, 2020

Release Notes Persisted

Fix tray menu on Windows not keyboard navigable.

@ckerr ckerr deleted the fix-tray-accessebility branch June 1, 2020 14:57
@trop
Copy link
Contributor

trop bot commented Jun 1, 2020

I was unable to backport this PR to "7-3-x" cleanly;
you will need to perform this backport manually.

@trop trop bot removed the target/7-3-x label Jun 1, 2020
@trop
Copy link
Contributor

trop bot commented Jun 1, 2020

I was unable to backport this PR to "8-x-y" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Jun 1, 2020

I have automatically backported this PR to "10-x-y", please check out #23879

@trop trop bot removed the target/10-x-y label Jun 1, 2020
@trop
Copy link
Contributor

trop bot commented Jun 1, 2020

I have automatically backported this PR to "9-x-y", please check out #23880

@trop
Copy link
Contributor

trop bot commented Jun 1, 2020

@ckerr has manually backported this PR to "8-x-y", please check out #23886

@ckerr
Copy link
Member

ckerr commented Jun 8, 2020

#23897

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accessibility issue: Electron system tray context menu on Windows is not keyboard navigable
3 participants