Meta+Shift+E won't register as a KeyDown Event
Reported by
jaket...@gmail.com,
Jul 27 2016
|
|||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36
Steps to reproduce the problem:
1. Open the Dev Tools Console.
2. Run the following script which logs each KeyDown Event after you press and hold Meta (command) and Shift. I recommend clicking the "preserve log".
document.addEventListener('keydown', function(event) {
event.preventDefault();
//if Command is pressed, and Shift is pressed, and the triggered event is NOT the Command or Shift key
if (event.metaKey && event.shiftKey && [16,91].indexOf(event.keyCode) === -1)
console.log(event); //log the event
});
3. Press Command+Shift+E
What is the expected behavior?
The key combination should produce an Event, and in the case of the script above, it should log it in the console.
What went wrong?
It doesn't seem to produce an Event.
Did this work before? N/A
Chrome version: 52.0.2743.82 Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0
If you use the script and press any other combination, it will produce and Event. Command+Shift+R, Command+Shift+A, Command+Shift+(any key).
,
Jul 27 2016
One thing I forgot to say when reporting the bug, it behaves expectedly in both Firefox and Safari.
,
Jul 27 2016
dtapuska: Probably meant to add Blink>Input rather than Blink>Infra, right?
,
Jul 27 2016
qyearsley@ ya sorry; thanks!
,
Jul 28 2016
I can successfully get keydown from Command+Shift+E using the provided script (52.0.2743.82, macOS 10.11.6). e.g. http://jsbin.com/lagonun Do you have any extensions that might steal the key event? Can you try disable all extensions or try on Incognito mode? Thanks!
,
Jul 28 2016
,
Aug 3 2016
This seems to work fine for me as well. Closing due to lack of feedback. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dtapu...@chromium.org
, Jul 27 2016Components: -Blink Blink>Infra
Labels: Hotlist-Input-Dev
Owner: chongz@chromium.org
Status: Assigned (was: Unconfirmed)