[Webkit-unassigned] [Bug 49787] New: QtWebKit does not respond properly to QInputMethodEvents with replacement text in them.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 18 23:37:12 PST 2010


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

           Summary: QtWebKit does not respond properly to
                    QInputMethodEvents with replacement text in them.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: P1
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kristian.amlie at nokia.com
                CC: hausmann at webkit.org


Created an attachment (id=74358)
 --> (https://bugs.webkit.org/attachment.cgi?id=74358&action=review)
Test case

QtWebKit does not properly respond to QInputMethodEvents that have replacement text in them. QInputMethodEvent::setCommitString() takes two integers, the start position (relative to the current cursor position) and the length which should be replaced. The attached test case displays the problem:

1. Launch the application.
2. After five seconds (giving Google time to load), a timer launches which produces events.
3. The text in the input field after 5 seconds should be "ok", not "okX".

If you change to a QLineEdit by flipping the #if 1, the program works.

This is a very important fix for Nokia N8 when using Vietnamese language pack, because replacement text is used extensively in their input methods.

-- 
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