diff options
author | Sami Merila <sami.merila@nokia.com> | 2010-02-19 08:58:13 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2010-02-19 08:58:13 (GMT) |
commit | 868a8d5d80f9e455e68c71522c6a710345c2d9fa (patch) | |
tree | 8b637adc5f9c4cd43677fe0c74309fb59e8ac3ba /src/gui/inputmethod | |
parent | ed604d1a6420c1e6598b7d509dd108aa20db4509 (diff) | |
download | Qt-868a8d5d80f9e455e68c71522c6a710345c2d9fa.zip Qt-868a8d5d80f9e455e68c71522c6a710345c2d9fa.tar.gz Qt-868a8d5d80f9e455e68c71522c6a710345c2d9fa.tar.bz2 |
Virtual keyboard can't be closed anymore after tapping the text area
On Symbian^3, the virtual keyboard cannot be closed anymore
when the editor area where the text is displayed is tapped and
autocompletion is suggesting a word currently.
This is caused by the fragile native FEP manager which assumes that
client must report certain event (EAknCursorPositionChanged), after
user interaction with the editor area. Otherwise the native FEP
manager is in dead-lock, until somebody reports this event to it.
Task-number: QTBUG-7828
Reviewed-by: axis
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r-- | src/gui/inputmethod/qcoefepinputcontext_s60.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp index 2b91711..1ac8ace 100644 --- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp +++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp @@ -113,7 +113,7 @@ void QCoeFepInputContext::update() updateHints(false); // For pre-5.0 SDKs, we don't do text updates on S60 side. - if (QSysInfo::s60Version() != QSysInfo::SV_S60_5_0) { + if (QSysInfo::s60Version() < QSysInfo::SV_S60_5_0) { return; } @@ -740,6 +740,9 @@ void QCoeFepInputContext::GetScreenCoordinatesForFepL(TPoint& aLeftSideOfBaseLin void QCoeFepInputContext::DoCommitFepInlineEditL() { commitCurrentString(false); + if (QSysInfo::s60Version() > QSysInfo::SV_S60_5_0) + ReportAknEdStateEvent(QT_EAknCursorPositionChanged); + } void QCoeFepInputContext::commitCurrentString(bool cancelFepTransaction) |