Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upfix: don't register some shortcuts without accessibility #16125
Conversation
This comment has been minimized.
This comment has been minimized.
4ndv
commented
Dec 19, 2018
•
|
This comment has been minimized.
This comment has been minimized.
@4ndv the crash occurs on unregister because the shortcuts are falsely registered from what i could tell, meaning that the simplest way to prevent that would be to ensure that no globalShortcuts are registered with incorrect accessibility permissions |
Add a note about macOS-only to release notes. |
Minor typos below, but otherwise approving on behalf of docs. It could be nice to link to a document when we mentioned being "authorized as a trusted accessibility client" in case folks don't know what that means or how to do it. |
8760640
into
master
This comment has been minimized.
This comment has been minimized.
release-clerk
bot
commented
Jan 4, 2019
Release Notes Persisted
|
This comment has been minimized.
This comment has been minimized.
/trop run backport-to 4-0-x,3-1-x,3-0-x |
This comment has been minimized.
This comment has been minimized.
The backport process for this PR has been manually initiated, |
This comment has been minimized.
This comment has been minimized.
The backport process for this PR has been manually initiated, |
This comment has been minimized.
This comment has been minimized.
The backport process for this PR has been manually initiated, |
This comment has been minimized.
This comment has been minimized.
I was unable to backport this PR to "4-0-x" cleanly; |
This comment has been minimized.
This comment has been minimized.
I was unable to backport this PR to "3-1-x" cleanly; |
This comment has been minimized.
This comment has been minimized.
I was unable to backport this PR to "3-0-x" cleanly; |
This was a regression in electron#16125, which unintentionally put `GlobalShortcutListener::RegisterAccelerator` into a `#if defined(OS_MACOSX)` block. Notes: Fix broken `globalShortcut.registerAll()` on Windows and Linux
codebytere commentedDec 18, 2018
•
edited by BinaryMuse
Description of Change
Resolves #14837.
/cc @ckerr
Checklist
npm test
passesRelease Notes
Notes: Fixed crash on macOS when using
globalShortcut
for media keys when accessibility access is not granted.