Skip to content

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

Merged
ckerr merged 1 commit into
masterfrom
fix-tray-accessebility
Jun 1, 2020
Merged

ckerr merged 1 commit into
masterfrom
fix-tray-accessebility

Conversation

@zcbenz

@zcbenz zcbenz commented May 29, 2020 •

Copy link
Copy Markdown
Contributor

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 recently label May 29, 2020
@zcbenz
zcbenz force-pushed the fix-tray-accessebility branch from 1285731 to c8b991c Compare May 29, 2020 06:32
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label May 30, 2020
@ckerr
ckerr merged commit b809d10 into master Jun 1, 2020
@release-clerk

release-clerk Bot commented Jun 1, 2020

Copy link
Copy Markdown

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

trop Bot commented Jun 1, 2020

Copy link
Copy Markdown
Contributor

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

trop Bot commented Jun 1, 2020

Copy link
Copy Markdown
Contributor

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

@trop

trop Bot commented Jun 1, 2020

Copy link
Copy Markdown
Contributor

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

trop Bot commented Jun 1, 2020

Copy link
Copy Markdown
Contributor

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

@trop

trop Bot commented Jun 1, 2020

Copy link
Copy Markdown
Contributor

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

@ckerr

ckerr commented Jun 8, 2020

Copy link
Copy Markdown
Member

#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