Bug 13877

Summary: [S60] no key events for text input
Product: WebKit Reporter: Franklin Davis <franklin.davis>
Component: DOMAssignee: Vikram <vikram.malaiya>
Status: CLOSED FIXED    
Severity: Major CC: franklin.davis
Priority: P1 Keywords: GoogleBug
Version: 420+   
Hardware: S60 Hardware   
OS: S60 3rd edition   
URL: http://www.jameswatts.com/test/inputkeyevents.html
Attachments:
Description Flags
Updated testcase with tabbed nav turned on.
none
proposed fix
Sachin.Padma: review+
Shows key even type, value, and form field value on keypress
none
Yet another test case for key input events, showing all key events
none
Test case shows ALL input and doc key events in a list
none
Test case showing ALL input and doc key events
none
Test key events, in page and inside input box none

Franklin Davis
Reported 2007-05-25 11:00:21 PDT
This bug was partially fixed -- works for arrow key events outside of input box. But real need is for key events for characters typed into input field, discussed with Zalan. +++ This bug was initially created as a clone of Bug #10221 +++ Attached testcase should pass after Zalan's patch: http://trac.webkit.org/projects/webkit/changeset/19423 Resolved. Thank you, James!
Attachments
Updated testcase with tabbed nav turned on. (681 bytes, text/html)
2007-05-25 11:04 PDT, Franklin Davis
no flags
proposed fix (1.59 KB, patch)
2007-08-02 13:56 PDT, Vikram
Sachin.Padma: review+
Shows key even type, value, and form field value on keypress (730 bytes, text/html)
2007-10-05 13:41 PDT, Franklin Davis
no flags
Yet another test case for key input events, showing all key events (777 bytes, text/html)
2007-12-07 12:06 PST, Franklin Davis
no flags
Test case shows ALL input and doc key events in a list (1.74 KB, application/xhtml+xml)
2007-12-07 13:23 PST, Franklin Davis
no flags
Test case showing ALL input and doc key events (1.74 KB, text/html)
2007-12-07 13:26 PST, Franklin Davis
no flags
Test key events, in page and inside input box (2.91 KB, text/html)
2009-01-20 13:33 PST, Franklin Davis
no flags
Franklin Davis
Comment 1 2007-05-25 11:04:09 PDT
Created attachment 14726 [details] Updated testcase with tabbed nav turned on. Be sure to enter the text field, then type. Should see those key events.
zalan
Comment 2 2007-06-12 05:51:17 PDT
TSW ID-ZBUS-744GX5
Vikram
Comment 3 2007-08-02 13:56:32 PDT
Created attachment 15810 [details] proposed fix
Sachin Padma
Comment 4 2007-08-21 11:06:03 PDT
Comment on attachment 15810 [details] proposed fix r=me
Sachin Padma
Comment 5 2007-08-21 11:06:40 PDT
landed in ccb in r25173
Franklin Davis
Comment 6 2007-10-05 13:41:57 PDT
Created attachment 16551 [details] Shows key even type, value, and form field value on keypress
Franklin Davis
Comment 7 2007-12-07 11:55:43 PST
Comment on attachment 14726 [details] Updated testcase with tabbed nav turned on. <html> <head> <style media="screen, handheld" type="text/css"> body { font-family: arial; padding: 2px; margin: 0; } </style> <script type="text/javascript"> function handlekey(event) { if (event.keyCode) { document.getElementById("results").innerHTML = event.type + " " + event.keyCode + " " + document.getElementById("test_txt").value + "<br>" + document.getElementById("results").innerHTML; } } </script> <meta name="navigation" content="tabbed"> </head> <body> enter text:<br/> <input type="text" id="test_txt" value="" onkeypress="return handlekey(event)" onkeydown="return handlekey(event)" onkeyup="return handlekey(event)" /> <div id="results"/> </body> </html>
Franklin Davis
Comment 8 2007-12-07 12:06:46 PST
Created attachment 17778 [details] Yet another test case for key input events, showing all key events
Franklin Davis
Comment 9 2007-12-07 13:23:10 PST
Created attachment 17781 [details] Test case shows ALL input and doc key events in a list
Franklin Davis
Comment 10 2007-12-07 13:26:01 PST
Created attachment 17782 [details] Test case showing ALL input and doc key events
Bradley Morrison
Comment 11 2008-04-09 11:39:26 PDT
Bulk closing of all s60 platform bugs. Sorry for the noise!
Franklin Davis
Comment 12 2009-01-20 13:33:42 PST
Created attachment 26870 [details] Test key events, in page and inside input box
Note You need to log in before you can comment on or make changes to this bug.