No keydown event raised with specific preceding key combo held
Reported by
jbu4em...@gmail.com,
May 13 2018
|
||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Steps to reproduce the problem:
window.onkeydown = function(e){
console.log(e.key);
};
If I open the chrome console, click on the document and hold down the keyboard keys q, then w, then e without releasing any, when I subsequently press p I can see that an event is raised and p is printed to the console.
If I do the same with a, s, and d, I do not see an event raised when I press p.
What is the expected behavior?
An event should be raised for each key pressed.
What went wrong?
No event is being raised when it should be.
Did this work before? N/A
Chrome version: 66.0.3359.139 Channel: n/a
OS Version: 10.0
Flash Version:
https://stackoverflow.com/questions/50317188/no-keydown-event-raised-with-specific-preceding-key-combo-held
,
May 16 2018
I can't reproduce this on Windows, Mac, and Linux. Can you try other machines around you? Any idea how we could reproduce?
,
May 16 2018
Unable to reproduce this issue on 66.0.3359.139 using Windows 10 with steps mentioned above. Attaching screenshot for reference. @Reporter: Please check the screencast and let us know if we miss anything. Also please check the issue as per comment#2. Thanks!
,
May 16 2018
Hello, Ok I tested this on my work laptop and it does indeed not reproduce. It allows me to hold 5 keys down before the next key does not raise an event. I dont know why different machines have a different threshold for keys you can hold down before an event raises, but my home PC, and indeed another user on stack overflow could reproduce this problem with just 3 keys down. I also dont know why different key combinations seem to be allowed in some circumstances...
,
May 16 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 16 2018
Some key combinations on my work laptop reproduce after 4 keys are held, some after 5, and some after 6.
,
May 16 2018
That's probably a hardware limitation. I don't know recent story but I once learned that, depends on how keyboard is designed, it may or may not handle multiple keys pressed at the same time. Modifier keys such as shift keys are for sure must handle that, but whether it can handle multiple normal key or not depends on hardware. If you see other apps or browser can handle for the same keyboard hardware, then my guess above is probably wrong, appreciate such info if you could get it.
,
May 21 2018
As per comment#7 adding Needs-Feedback label. Thanks!
,
Jun 7 2018
Closing this for now as this may be a hardware limitation and there was not additional feedback from the reporter. Reporter if you happen to see other apps or browser can handle for the same keyboard hardware, or see this issue in a different device, feel free to comment here with additional information or just file a new bug. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by krajshree@chromium.org
, May 14 2018