[Webkit-unassigned] [Bug 28409] keypress not dispatched for ctrl shortcuts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 1 14:29:14 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28409


John Day-Richter <johndayrichter at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johndayrichter at google.com




--- Comment #3 from John Day-Richter <johndayrichter at google.com>  2009-10-01 14:29:14 PDT ---
(In reply to comment #2)

> Why should WebKit dispatch keypress when no characters are tyoed? Per comments
> in Chromium bug, we match IE here. The bug is on Mac.

The problem is not that keypress events are not dispatched. The problem is that
webkit browsers seem to dispatch the events inconsistently. Here's a sample of
behaviors:


Keystroke     Chrome (Windows) Events     Safari (Windows) Events
Ctrl+A        KEYDOWN, KEYUP              KEYDOWN, KEYUP
Ctrl+B        KEYDOWN, KEYPRESS, KEYUP    KEYDOWN, KEYPRESS, KEYUP
Ctrl+X        KEYDOWN, KEYUP              KEYDOWN, KEYUP
Ctrl+D        KEYDOWN, KEYPRESS           KEYDOWN

In both browsers all Ctrl+Shift+key combinations generate a keypress.

It doesn't much matter whether Webkit fires a keypress in these instances or
not, but it would be very helpful if it had the same behavior for Ctrl+key
combinations.

These tests were done using the tool at
http://people.w3.org/rishida/utils/keyevents/

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list