summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-03-10 06:43:17 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-03-10 06:43:17 (GMT)
commit6fb7a21fc5b7324456d210e2134ffe97ae245d2c (patch)
tree281ee0081e533d75007282f751022708e248e0d4
parentfa41a0416394a7a9f2f78b05e19d4a89c8828082 (diff)
downloadQt-6fb7a21fc5b7324456d210e2134ffe97ae245d2c.zip
Qt-6fb7a21fc5b7324456d210e2134ffe97ae245d2c.tar.gz
Qt-6fb7a21fc5b7324456d210e2134ffe97ae245d2c.tar.bz2
Visible flashing on QML app when split view is opened and closed
The root cause is that input widget is re-positioned twice; once when keyboard opens and second time when window becomes visible. This causes flicker. Task-number: QTBUG-17979 Reviewed-by: Laszlo Agocs
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index cd4e2fd..e3f13ff 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -330,26 +330,6 @@ bool QCoeFepInputContext::symbianFilterEvent(QWidget *keyWidget, const QSymbianE
// This should also happen for commands.
reset();
- // We need to translate the window content when window becomes available. Changing the window while it is
- // not yet ready with OpenVg graphicssystem results in operations silently failing.
-
- if (event->windowServerEvent() && event->windowServerEvent()->Type() == EEventWindowVisibilityChanged) {
- if (S60->splitViewLastWidget) {
- QGraphicsView *gv = qobject_cast<QGraphicsView*>(S60->splitViewLastWidget);
- const bool alwaysResize = (gv && gv->verticalScrollBarPolicy() != Qt::ScrollBarAlwaysOff);
- TUint visibleFlags = event->windowServerEvent()->VisibilityChanged()->iFlags;
- if (!alwaysResize) {
- if (visibleFlags & TWsVisibilityChangedEvent::EPartiallyVisible) {
- if (!isWidgetVisible(S60->splitViewLastWidget)) {
- ensureFocusWidgetVisible(S60->splitViewLastWidget);
- }
- } else if (visibleFlags & TWsVisibilityChangedEvent::ENotVisible) {
- resetSplitViewWidget(true);
- }
- }
- }
- }
-
return false;
}