WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
199858
keyup event with ShiftLeft/ShiftRight code sometimes not fired
https://bugs.webkit.org/show_bug.cgi?id=199858
Summary
keyup event with ShiftLeft/ShiftRight code sometimes not fired
Ashley Gullen
Reported
2019-07-17 07:38:37 PDT
Demo:
https://www.scirra.com/labs/bugs/leftrightkeys.html
Steps to reproduce: 1. Open URL 2. Press down left shift 3. Press down right shift 4. Release left shift 5. Release right shift What is the expected behavior? keyup events should fire for both ShiftLeft and ShiftRight codes What went wrong? The keyup event for ShiftLeft is missing. It only fires for ShiftRight. The same issue happens with control, alt and meta keys. It works correctly in Chrome and Firefox so this issue is specific to Safari.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2019-07-21 17:00:04 PDT
Indeed, we rely on high level AppKit calls for modifier changes, which aren't executed when the second key is still down. This would be tricky to change while still being a good player in view hierarchy.
Radar WebKit Bug Importer
Comment 2
2019-07-21 17:00:23 PDT
<
rdar://problem/53375581
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug