Bug 13877 - [S60] no key events for text input
Summary: [S60] no key events for text input
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: S60 Hardware S60 3rd edition
: P1 Major
Assignee: Vikram
URL: http://www.jameswatts.com/test/inputk...
Keywords: GoogleBug
Depends on:
Blocks:
 
Reported: 2007-05-25 11:00 PDT by Franklin Davis
Modified: 2009-01-20 13:33 PST (History)
1 user (show)

See Also:


Attachments
Updated testcase with tabbed nav turned on. (681 bytes, text/html)
2007-05-25 11:04 PDT, Franklin Davis
no flags Details
proposed fix (1.59 KB, patch)
2007-08-02 13:56 PDT, Vikram
Sachin.Padma: review+
Details | Formatted Diff | Diff
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 Details
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 Details
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 Details
Test case showing ALL input and doc key events (1.74 KB, text/html)
2007-12-07 13:26 PST, Franklin Davis
no flags Details
Test key events, in page and inside input box (2.91 KB, text/html)
2009-01-20 13:33 PST, Franklin Davis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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