Chrome hijacks some hotkeys and macros
Reported by
wstice.o...@gmail.com,
May 30 2016
|
|||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 Steps to reproduce the problem: 1. Play music in external media player. (Winamp, Windows Media Player, VLC, etc.) 2. Open Chrome and click on it to give Chrome focus. 3. Press next, previous, play, pause, or stop on your keyboard. Nothing will work. What is the expected behavior? The expected behavior is that the media key input will be received by the external media player application. Instead, it is caught by Chrome. What went wrong? This used to work properly a few years ago, that's why I marked it as a regression. After some Chrome update in the past, I noticed my media keys on my keyboard (Logitech G110) no longer control external media applications when Chrome is in focus. If I give any other application focus, it works. Chrome captures the next track, previous track, play, pause, and stop buttons when it has focus. Fortunately, it does not capture the input of the volume up/down wheel, allowing that to function properly. You can imagine how annoying this is after a while, if you spend a lot of time listening to music while browsing the web! Chrome also captures other hotkeys. I assigned keyboard macros to some of the extra keys on my keyboard using the included Logitech G-Series Key Profiler utility. For example, I have my G1 key bound to the macro ctrl+shift+F9 to control another application. If Chrome has focus and I press ctrl+shift+F9, it works fine. However, if Chrome has focus and I press the G1 key, it does not work. This isn't a huge issue, but I thought I'd mention it. The capturing of media keys is much more annoying. Did this work before? Yes Unknown, a few years ago Chrome version: 50.0.2661.102 Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 21.0 r0 I've seen suggestions on the web regarding changing settings for the Google Play Music extension to resolve this problem. However, I don't have that extension installed, and none of my other extensions have any keyboard shortcuts associated with them.
,
May 30 2016
,
Jun 1 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 24 2016
Assigning to Mounir for triage
,
Jun 27 2016
As far as I know, Chromed doesn't use the media keys apart from a Chrome Extension API. I have a couple of questions to help triage this: - is it Windows only? (what about Mac/Linux/Chrome OS?) - does it still happen with all extensions disabled? - does the behaviour of stolen keys happen when focusing another app than Chrome?
,
Jun 27 2016
-Unsure about OS. I don't have Mac or Linux installations available to test, but I can test on Chrome OS soon and update. -I can confirm it happens with all extensions disabled, as well as on a completely fresh installation of Chrome Canary. -In almost all cases, the behavior of stolen keys does not happen in apps other than Chrome. I only know of two other apps I use that also steal media keys: Photoshop CS3 and Open Broadcaster Software. It's impossible to say if there's something in common between them that's causing the same result.
,
Jul 8 2016
This issue has been moved once and is lower than Pri-1. Removing the milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 18 2016
@mlamouri: This is not confined to Windows, this is happening on MAC (10.11.5) & Ubuntu Trusty (14.04). In the MAC (10.11.5) PLAY/PAUSE is working when the focus is on Google Chrome Browser. Thank you.
,
Jul 18 2016
Additional Info: Next/Previous is not working. Used the beneath mentioned players to play videos. MAC - Quic Time Player Linux - Videos [Totem Website]
,
Jul 18 2016
rnimmagadda@, can you define "not working"? Chrome isn't expected to handle the media keys so if pressing them has no impact on a website open in Chrome, it's expected.
,
Jul 18 2016
@mlamouri: I mean to say it was "Not Functional". Sorry about that. Verified it again and found that the same is observed on Firefox as well. Not a Chrome Issue alone. Thank you.
,
Jul 18 2016
,
Jul 18 2016
rnimmagadda@, it seems that OP was pointing an issue with the keys being intercepted by Chrome, not about the keys not working. In other words, when Chrome is open, even if the keys do nothing, they seem to block other apps from using them. That was on Mac, though.
,
Jul 18 2016
I have an update on this, which provides an answer and solution to half of the issue, at least for Winamp users. I attempted to reproduce the bug on another computer using the same keyboard, and was unable to. It then occurred to me that while I had reproduced the bug with different versions of Chrome, I had never tried reproducing it with different media players. Sure enough, I tried a different media player and it worked- Chrome did not capture and block the media key input while in focus. So this particular issue lies exclusively with Winamp. For any googlers, the fix is to go to Winamp Preferences -> Global Hotkeys -> Enable default multimedia key support and check the checkbox. Dunno how that got unchecked or why it's not checked by default. Chalk that up to me being an idiot and not testing *everything*... Sorry! This solves half of the issue, but Chrome still eats the input from the extra keys on my keyboard while in focus and has odd behavior with some other keys. The eaten keys are the G1-G12 keys (Logitech G110 keyboard). The keys are bound to macros using the Logitech G-series Key Profiler app that comes with the keyboard. Pressing the keys while Chrome is in focus causes them to do nothing. No other application causes this while in focus. I can confirm that this happens regardless of what the assigned macro is. Another odd Chrome interaction that fits in this category is the Print Screen key. I have a freeware program (Greenshot) that handles/crops screenshots when the key is pressed, but when Chrome is in focus Greenshot never activates. Instead the entire screen is captured by Windows, which is the default functionality of the Print Screen key. Again, no other application causes this while in focus. Thank you for continuing to update and investigate!
,
Jul 18 2016
Thank you for the follow-up! :) I renamed the bug title to remove mention of media keys. Note that I work on Media stuff so I will not be able to help on the general hotkeys being eaten by Chrome.
,
Jul 25 2016
[mac triage] There's nothing about Mac here. I don't think Logitech ever made software to support their keyboard macros on OSX.
,
Jul 25 2016
,
Aug 1 2017
Checking back in over a year later! I think I found a workaround for one of these issues. The Logitech Key Profiler doesn't interact properly with Chrome, but Logitech has another app called Logitech Gaming Software that seems to play nice. It is available here: http://support.logitech.com/en_us/software/lgs After installing it, the macros assigned to my G1-G12 keys work, even when Chrome is in focus! So that's pretty awesome. As far as I can tell, the only remaining issue is that Chrome doesn't play nice with Greenshot. It still eats the Print Screen keypress, which indicates to me that there's still some underlying issue with certain keys and Chrome.
,
Aug 21
Archiving old bugs that haven't been actively assigned in over a year. If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks!
,
Aug 21
Archiving old bugs that haven't been actively assigned in over a year. If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks! |
|||||||||||||||
►
Sign in to add a comment |
|||||||||||||||
Comment 1 by rnimmagadda@chromium.org
, May 30 2016Labels: -Type-Bug-Regression M-52 Type-Bug
Status: Untriaged (was: Unconfirmed)