diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-08-19 11:49:27 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2011-08-19 11:49:27 (GMT) |
commit | b186288cbf796be662f86ae4d5c70e39ba6afb67 (patch) | |
tree | c7793c423a30b2b5628f73da48e9e365b8757ced /src/gui/inputmethod/qcoefepinputcontext_p.h | |
parent | 1679b2d71f4f573699aad20aebf4eacc7605fdc8 (diff) | |
download | Qt-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.h | 1 |
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; |