New issue
Advanced search Search tips

Issue 842535 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

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
 
Labels: Needs-Triage-M66

Comment 2 by kojii@chromium.org, May 16 2018

Cc: kojii@chromium.org
Components: -Blink Blink>Input
Labels: Needs-Feedback
I can't reproduce this on Windows, Mac, and Linux.

Can you try other machines around you? Any idea how we could reproduce?
Labels: Triaged-ET
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!
842535.PNG
256 KB View Download

Comment 4 by jbu4em...@gmail.com, 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...
Project Member

Comment 5 by sheriffbot@chromium.org, May 16 2018

Labels: -Needs-Feedback
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

Comment 6 by jbu4em...@gmail.com, May 16 2018

Some key combinations on my work laptop reproduce after 4 keys are held, some after 5, and some after 6.

Comment 7 by kojii@chromium.org, 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.
Labels: Needs-Feedback
As per comment#7 adding Needs-Feedback label. 

Thanks!
Status: WontFix (was: Unconfirmed)
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