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: media shouldn't open permissions dialog #31837

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Nov 15, 2021

Backport of #31805

See that PR for details.

Notes: Fixed an issue where playing media would open Accessibility permissions dialog on macOS.

indutny and others added 2 commits November 15, 2021 13:16
Playing media shouldn't open Accessibility permissions dialog on macOS.
However, we still need to watch for media events, just not globally and
`media_keys_listener_` is an API over global capture of the media keys.

The fix is to let chromium call `UpdateWhichKeysAreListenedFor` which
will call `UpdateSystemMediaControlsEnabledControls` and watch for
events on `system_media_controls_` without triggering permissions popup.
@trop trop bot requested a review from a team as a code owner November 15, 2021 13:16
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Nov 15, 2021
@trop trop bot added 16-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Nov 15, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Nov 15, 2021
@VerteDinde VerteDinde merged commit 16d3917 into 16-x-y Nov 15, 2021
@VerteDinde VerteDinde deleted the trop/16-x-y-bp-fix-media-shouldn-t-open-permissions-dialog-1636982194040 branch November 15, 2021 19:51
@release-clerk
Copy link

release-clerk bot commented Nov 15, 2021

Release Notes Persisted

Fixed an issue where playing media would open Accessibility permissions dialog on macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
16-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants