[Webkit-unassigned] [Bug 39625] [Qt] Sending a QInputMethodEvent::Selection event forces the Editor to go into Composition mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 28 09:59:48 PDT 2010


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





--- Comment #7 from rajiv.ramanasankaran at nokia.com  2010-05-28 09:59:48 PST ---
(In reply to comment #6)
> Created an attachment (id=57275)
 --> (https://bugs.webkit.org/attachment.cgi?id=57275) [details]
> Patch

Couple of points:

In QwebPage.cpp:
1) If the preedit string was not empty and this wasn't a selection event, we are changing the present 
composition to go from 0 to preedit.length. It seems wrong and unneccessary to touch the composition in this case.
2) If either the preedit string is empty or the editor doesn't have an ongoing composition, it doesn't
 seem necessary to change the start and end positions in this case either. These should only be changed
 if we had received a selection event.

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