summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod/qcoefepinputcontext_p.h
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-08-19 11:49:27 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-08-19 11:49:27 (GMT)
commitb186288cbf796be662f86ae4d5c70e39ba6afb67 (patch)
treec7793c423a30b2b5628f73da48e9e365b8757ced /src/gui/inputmethod/qcoefepinputcontext_p.h
parent1679b2d71f4f573699aad20aebf4eacc7605fdc8 (diff)
downloadQt-b186288cbf796be662f86ae4d5c70e39ba6afb67.zip
Qt-b186288cbf796be662f86ae4d5c70e39ba6afb67.tar.gz
Qt-b186288cbf796be662f86ae4d5c70e39ba6afb67.tar.bz2
Exact word bubble doesn't disappear when screen is tapped (fix part 2)
Prevent syncing with native side, if input capability changes are pending. Native side seems to be rather touchy about extra events, and might crash if syncing is requested while handling a capability change is on-going. Additionally, only cancel the transaction once. Otherwise cancellation might lead into loop (since we sync the state with native side) that eventually causes the application to crash. Task-number: QTBUG-20919 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/gui/inputmethod/qcoefepinputcontext_p.h')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_p.h b/src/gui/inputmethod/qcoefepinputcontext_p.h
index 9857015..8c30838 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_p.h
+++ b/src/gui/inputmethod/qcoefepinputcontext_p.h
@@ -154,6 +154,7 @@ private:
TUint m_textCapabilities;
bool m_inDestruction;
bool m_pendingInputCapabilitiesChanged;
+ bool m_pendingTransactionCancel;
int m_cursorVisibility;
int m_inlinePosition;
MFepInlineTextFormatRetriever *m_formatRetriever;