[Webkit-unassigned] [Bug 57472] [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 14:36:47 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57472


yi shen <yi.4.shen at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #88701|                            |review?, commit-queue?
               Flag|                            |




--- Comment #2 from yi shen <yi.4.shen at nokia.com>  2011-04-07 14:36:47 PST ---
Created an attachment (id=88701)
 --> (https://bugs.webkit.org/attachment.cgi?id=88701&action=review)
first try

The problem is that EditorClientQt::handleInputMethodKeydown() is invoked by both keydown event and keypress event, and inserts two new lines (and sends onsearch events twice in this bug). One simple solution is by checking defaultPrevented() for each event before trigger the insertnewline action.

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



More information about the webkit-unassigned mailing list