summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-08-18 12:43:55 (GMT)
committerTimo Turunen <timo.p.turunen@nokia.com>2011-08-30 07:02:17 (GMT)
commitd88772c75302f607c8b7ca8540bef7be2d46a16b (patch)
tree9093747e0e4a7900bc396d8fb703c5b8232b8a6f /src/gui/inputmethod
parent23c5cfdb1b7d3549dd114065669894ac254b5d66 (diff)
downloadQt-d88772c75302f607c8b7ca8540bef7be2d46a16b.zip
Qt-d88772c75302f607c8b7ca8540bef7be2d46a16b.tar.gz
Qt-d88772c75302f607c8b7ca8540bef7be2d46a16b.tar.bz2
Exact word bubble doesn't disappear when screen is tapped
Sync FEP-aware text editors state to native side. Thus, native side can then do various operations based on editor state - such as removing the user typed 'exact word bubble'. Task-number: QTBUG-20919 Reviewed-by: Miikka Heikkinen (cherry picked from commit 1679b2d71f4f573699aad20aebf4eacc7605fdc8) Reapplied after bad v4.7.4 merge
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index d545f2e..8bdaa22 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -1077,6 +1077,10 @@ void QCoeFepInputContext::CancelFepInlineEdit()
if (m_hasTempPreeditString)
return;
+ // Sync with native side editor state. Native side can then do various operations
+ // based on editor state, such as removing 'exact word bubble'.
+ ReportAknEdStateEvent(MAknEdStateObserver::EAknSyncEdwinState);
+
QList<QInputMethodEvent::Attribute> attributes;
QInputMethodEvent event(QLatin1String(""), attributes);
event.setCommitString(QLatin1String(""), 0, 0);