[Webkit-unassigned] [Bug 30652] No key identifier in key events for dead keys

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 11 09:42:11 PDT 2010


--- Comment #2 from O. Andersen <pub-webkit at coq.no>  2010-07-11 09:42:11 PST ---
A partial solution to this has appeared in Safari 5:

1) For non-dead keys, keyIdentifier identifies the corresponding character (as before).

2) For dead keys, keyIdentifier is undefined, but keyCode is now set to the corresponding character on a US keyboard. This makes it easy to identify the key that was pressed (except that the key ยง on a non-ANSI keyboard has the same keyCode as `).

This works well in the context of a Dashboard Widget, where Objective-C code can be used to detect the current keyboard layout, enabling mapping from keys to characters or vice versa.  For web applications, however, the current mix of character and key identifiers is not ideal; identifying keys and characters separately for all keys would be better.

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