diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-03-10 06:46:40 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2011-03-10 06:46:40 (GMT) |
commit | 7a94ad38f0d730689ff3ed973b5824e5d7ab6408 (patch) | |
tree | 71051564a2ae35b52a4d654e2498bec623040a96 /src | |
parent | 6fb7a21fc5b7324456d210e2134ffe97ae245d2c (diff) | |
download | Qt-7a94ad38f0d730689ff3ed973b5824e5d7ab6408.zip Qt-7a94ad38f0d730689ff3ed973b5824e5d7ab6408.tar.gz Qt-7a94ad38f0d730689ff3ed973b5824e5d7ab6408.tar.bz2 |
QML app: text input field is not visible when split view is opened
When using a maximized QML application and user taps to a input widget,
opened splitview does not show the focused input widget.
The root cause of the problem is that when we move to splitview, we
set the window state to fullscreen. Unfortunately, there we were
trying to fullscreen the input widget and not the window that where
the input widget is.
Task-number: QTBUG-17984
Reviewed-by: Guoqing Zhang
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/inputmethod/qcoefepinputcontext_s60.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp index e3f13ff..86cea60 100644 --- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp +++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp @@ -509,7 +509,7 @@ void QCoeFepInputContext::ensureFocusWidgetVisible(QWidget *widget) // as the statuspane size is not changing. if (!(windowToMove->windowState() & Qt::WindowFullScreen)) { - widget->setWindowState( + windowToMove->setWindowState( (windowToMove->windowState() & ~(Qt::WindowMinimized | Qt::WindowFullScreen)) | Qt::WindowFullScreen); } |