Bug 15248

Summary: Can not enter accented characters using alt-numeric keypad
Product: WebKit Reporter: Reinder Verlinde <reinder>
Component: TextAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, hyatt, oliver
Priority: P2 Keywords: InRadar, PlatformOnly
Version: 523.x (Safari 3)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
test case oliver: review+

Description Reinder Verlinde 2007-09-21 00:09:59 PDT
In windows, one can type characters by typing a number on the numeric keypad while holding down an alt-key. For instance, alt-130 types é.

This does not work in Safari. Nothing is entered. I checked both form fields (where I need this to enter a password) and the address bar (version 3.0.3 build 522.15.5)

It is not a wild guess to guess that this is Platform-specific, although the 'Reindeer' component was very tempting...
Comment 1 David Kilzer (:ddkilzer) 2007-09-21 06:22:30 PDT
<rdar://problem/5497032>
Comment 2 Oliver Hunt 2007-10-26 18:00:29 PDT
I have a reasonable idea of how this would need to be implemented -- basically we'd need to implement an input manager-esque system on windows to handle this type of text entry.
Comment 3 Alexey Proskuryakov 2007-11-01 10:50:12 PDT
Windows already sends WM_CHAR messages for those, but we ignore them to do everything from WM_KEYDOWN handler.
Comment 4 Alexey Proskuryakov 2007-12-12 02:54:12 PST
Fixed in <http://trac.webkit.org/projects/webkit/changeset/28620>, but we need a test case. I'm working on one.
Comment 5 Alexey Proskuryakov 2007-12-12 03:24:53 PST
Created attachment 17861 [details]
test case
Comment 6 Oliver Hunt 2007-12-12 03:32:58 PST
Comment on attachment 17861 [details]
test case

hurrah!
Comment 7 Alexey Proskuryakov 2007-12-12 03:34:45 PST
Test committed revision 28647.
Comment 8 Darin Adler 2008-02-04 17:05:25 PST
Test case looks good, but this doesn't seem to actually work in Safari.
Comment 9 Alexey Proskuryakov 2008-02-05 04:14:08 PST
Indeed, this regressed. However, the new bug is not a WebKit one (at least, part of the fix needs to be in closed source code), so I'm closing this report back.

The problem will continue to be tracked by Apple internally, of course.