[Webkit-unassigned] [Bug 15052] New: Submission of form using Enter key on a text field doesn't work on GTK

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 22 14:54:34 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15052

           Summary: Submission of form using Enter key on a text field
                    doesn't work on GTK
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: m at ni.ac.nz


In WebCore/html/HTMLInputElement.cpp, code exists to submit the form when a
keypressEvent for the Enter key is received on a text field within the form.

However, this doesn't work on GTK. It appears that the field never receives a
keypressEvent (but it does receive a keydownEvent and keyupEvent).

Changing the conditional on line 1159 to check for keyupEvent rather than
keypressEvent works, however I have not yet ascertained why keypressEvent does
not happen on GTK.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list