Title: [124197] trunk/Source/WebKit2
Revision
124197
Author
[email protected]
Date
2012-07-31 06:42:08 -0700 (Tue, 31 Jul 2012)

Log Message

[Qt] Input method update should also include hints
https://bugs.webkit.org/show_bug.cgi?id=92744

Patch by Marcelo Lira <[email protected]> on 2012-07-31
Reviewed by Simon Hausmann.

The QInputMethod is told to query for input method hints when updated.

* UIProcess/qt/QtWebPageEventHandler.cpp:
(WebKit::QtWebPageEventHandler::updateTextInputState):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (124196 => 124197)


--- trunk/Source/WebKit2/ChangeLog	2012-07-31 13:15:26 UTC (rev 124196)
+++ trunk/Source/WebKit2/ChangeLog	2012-07-31 13:42:08 UTC (rev 124197)
@@ -1,3 +1,15 @@
+2012-07-31  Marcelo Lira  <[email protected]>
+
+        [Qt] Input method update should also include hints
+        https://bugs.webkit.org/show_bug.cgi?id=92744
+
+        Reviewed by Simon Hausmann.
+
+        The QInputMethod is told to query for input method hints when updated.
+
+        * UIProcess/qt/QtWebPageEventHandler.cpp:
+        (WebKit::QtWebPageEventHandler::updateTextInputState):
+
 2012-07-31  Danilo Cesar Lemes de Paula  <[email protected]>
 
         add Farstream flags/deps to WebKit, for WebRTC

Modified: trunk/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp (124196 => 124197)


--- trunk/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp	2012-07-31 13:15:26 UTC (rev 124196)
+++ trunk/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp	2012-07-31 13:42:08 UTC (rev 124197)
@@ -427,7 +427,7 @@
     if (!m_webView->hasActiveFocus())
         return;
 
-    qApp->inputMethod()->update(Qt::ImQueryInput | Qt::ImEnabled);
+    qApp->inputMethod()->update(Qt::ImQueryInput | Qt::ImEnabled | Qt::ImHints);
 
     setInputPanelVisible(editor.isContentEditable);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to