Bug 199858
| Summary: | keyup event with ShiftLeft/ShiftRight code sometimes not fired | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ashley Gullen <ashley> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, dbates, megan_gardner, rniwa, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Mac | ||
| OS: | macOS 10.14 | ||
Ashley Gullen
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
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
<rdar://problem/53375581>