-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Brave is now intercepting media keys #3807
Comments
If anyone has the same issue, I am posting my temporary workaround here.
|
I can confirm I have this issue as well. I use Windows Media player and I realized it stopped taking commands from my keyboard and it would even start playing videos on the browser. I never realized it was the browser doing it. |
I currently use the Dev channel |
I am encountering this issue as well on OSX. Even after leaving the offending website that took over my Media Keys, I do not regain them to my previous application (Spotify, in this case) until I restart Brave. This does appear to be tied with the newest Chromium release https://www.neowin.net/news/chrome-73-will-bring-hardware-media-key-support-automatic-picture-in-picture/ |
Can someone please give this a try? Go to brave://flags and search for |
@bsclifton Hey Brian, This flag being disabled works for me. I don't mind having it temporarily gain the media keys, though, just want it to relinquish control when done. But for now, I'll leave the flag active to block Brave from ever taking over my media keys. |
@bsclifton Yes! That does fix the issue, thank you very much. |
Awesome @Soben - thanks for confirming! 😄 Great that folks have a work-around; would be even better if it wasn't needed 😛 Let's keep this issue open and perhaps (based on the number of upvotes / etc), we can look at disabling the flag by default |
Thanks |
Maybe this is something we can expose in our settings screen |
Setting conditional could be added here: https://cs.chromium.org/chromium/src/content/public/browser/media_keys_listener_manager.cc?type=cs&g=0&l=19 |
In Chrome I can use my media keys for Google Music (in the browser) even when I watch a video on YouTube. If I use Brave it starts and stops the video instead of the music when I have YouTube open with a video. Can this behaviour be changed somehow? |
I believe this was tied to the field trial Can anyone on Nightly confirm that they don't see the problem? If so, I think we're safe to close this out 😄 |
Closing as this should be resolved in 0.68.x (current nightly). Fixed with #4551 |
@bsclifton #4551 is actually in 0.68.x milestone, should this issue be moved to match that milestone? |
whoops! good catch, @LaurenWags 😄 Fixed! |
Verified passed with
Verification passed on
Verification passed on
|
I found the problem. The Plasma integration extension was handling the media keys instead of pure brave. |
@PlayingPenguin no worries - thanks for sharing what caused the problem for you 😄 |
Description
Note: this is probably a new Chromium "feature".
After the most recent update, Brave intercepts media button key presses on my keyboard (play, stop, skip, etc.). I use these buttons to control desktop Spotify client to play my music, but now while Brave is opened (doesn't need focus) these buttons do nothing. Furthermore if I have a Youtube video opened in one of my tabs (doesn't need to be the active tab), it controls this video (play, pause, [next, previous - if in playlist]).
Even this is somewhat buggy, for example, if video is NOT in a playlist, the next and previous buttons do still control Spotify, but as soon as I switch to a tab with video in a playlist, these buttons control the playlist again.
If this is a wanted feature, at least give me the option to disable it. Please.
Suggestion to fix: if this behaviour only occurred if the tab with a video is SELECTED (Brave doesn't have to be in focus, just the tab is currently selected), otherwise the key press is not intercepted, this would be a fine compromise.
Steps to Reproduce
Actual result:
Nothing happens if Youtube video is not opened in some tab.
Plays video if it is opened in one of the tabs.
Expected result:
If media button is pressed, Brave does nothing, instead Spotify plays my music.
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Brave | 0.61.51 Chromium: 73.0.3683.75 (Official Build) (64-bit)
Revision | 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS | Windows 10 OS Build 17134.590
Reproducible on current release:
Website problems only:
Additional Information
I am not familiar with Chromium internals, however according to issue #3299 this does seem like its is a "feature" added in Chromium version 73. My up to date version of Chrome is only version 72 so I cannot replicate this issue there.
The text was updated successfully, but these errors were encountered: