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

Description Franklin Davis 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!
Comment 1 Franklin Davis 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.
Comment 2 zalan 2007-06-12 05:51:17 PDT
TSW ID-ZBUS-744GX5
Comment 3 Vikram 2007-08-02 13:56:32 PDT
Created attachment 15810 [details]
proposed fix
Comment 4 Sachin Padma 2007-08-21 11:06:03 PDT
Comment on attachment 15810 [details]
proposed fix

r=me
Comment 5 Sachin Padma 2007-08-21 11:06:40 PDT
landed in ccb in r25173
Comment 6 Franklin Davis 2007-10-05 13:41:57 PDT
Created attachment 16551 [details]
Shows key even type, value, and form field value on keypress
Comment 7 Franklin Davis 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>
Comment 8 Franklin Davis 2007-12-07 12:06:46 PST
Created attachment 17778 [details]
Yet another test case for key input events, showing all key events
Comment 9 Franklin Davis 2007-12-07 13:23:10 PST
Created attachment 17781 [details]
Test case shows ALL input and doc key events in a list
Comment 10 Franklin Davis 2007-12-07 13:26:01 PST
Created attachment 17782 [details]
Test case showing ALL input and doc key events
Comment 11 Bradley Morrison 2008-04-09 11:39:26 PDT
Bulk closing of all s60 platform bugs. 

Sorry for the noise!
Comment 12 Franklin Davis 2009-01-20 13:33:42 PST
Created attachment 26870 [details]
Test key events, in page and inside input box