RESOLVED FIXED Bug 43545
[Qt] Clean up the input method handling
https://bugs.webkit.org/show_bug.cgi?id=43545
Summary [Qt] Clean up the input method handling
Simon Hausmann
Reported 2010-08-05 02:29:36 PDT
The code in EditorClientQt that sets the input method hints is inefficient. When setting indiviual input method hints we end up calling QWidget::setInputMethodHints for every individual flag, which by itself results in a call to update() in the input method implementation. A better solution would be to accumulate the input method hints and set them at once. This requires minor changes to the QWebPageClient interface.
Attachments
Patch (7.60 KB, patch)
2010-08-05 05:09 PDT, Simon Hausmann
vestbo: review+
Simon Hausmann
Comment 1 2010-08-05 05:09:46 PDT
Simon Hausmann
Comment 2 2010-08-05 05:40:36 PDT
Simon Hausmann
Comment 3 2010-08-05 05:43:51 PDT
Revision r64737 cherry-picked into qtwebkit-2.1 with commit d22010b8f31d348848d25be618fa6f911dacf9da
Note You need to log in before you can comment on or make changes to this bug.