Bug 16429
Summary: | WebKit nightlies no longer dispatch keypress for special keys | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Naeseth <naesethe> |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Major | CC: | ap, jaroslav.benc, nemo.chen, r.trost, ryan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac (Intel) | ||
OS: | OS X 10.5 | ||
URL: | http://unixpapa.com/js/testkey.html |
Eric Naeseth
While WebKit r28669 (unlike Safari 3.0.4) now dispatches keydown/keyup events for modifier keys (Shift, Control, Option, and Command), it no longer dispatches keypress events for those keys and the "special" keys it previously dispatched them for (namely the arrow keys, home, end, page up and down, tab, delete, and backspace). It still dispatches one for Enter, but its keyIdentifier field is now blank (previously it was "Enter".)
A useful page for testing this behavior has been provided as this bug's URL.
This may have been intentional (after all, the old behavior was kind of an abuse of keypress in the first place), but I'm filing a bug anyway because it might not be, and if it is, I'd like some confirmation that this behavior is indeed changing.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Naeseth
Fixing a bit of grammar in the title.
Eric Naeseth
I don't know a whole lot about Bugzilla or how you guys are using it, but it looks like if this really was unintentional then it would count as a regression, so I'm adding a keyword to that effect.
Alexey Proskuryakov
Yes, this was intentional, see <http://lists.webkit.org/pipermail/webkit-dev/2007-December/002992.html>.
As with any change, we are open to reconsidering this if it causes too much trouble, but for now, I'm closing as INVALID. Thank you for filing this bug, we appreciate your help!
Eric Naeseth
Thank you very much for that link.
If I find any *real* regressions, I'll try to let you all know. :)
Mark Rowe (bdash)
*** Bug 17937 has been marked as a duplicate of this bug. ***
Mark Rowe (bdash)
*** Bug 17947 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
*** Bug 28905 has been marked as a duplicate of this bug. ***