aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorJaeyoon Jung <jaeyoon.jung@lge.com>2018-06-12 20:25:29 +0900
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-06-25 12:47:09 +0000
commita06e873a1e80eda2f8e946ebe4e2f7631c78f53d (patch)
tree5b5ebb9d42f4baaffc3d504ca1de8f37750f262d /src/quick
parent510253aa0996a89e6029d244002a08615b2fb65b (diff)
webOS: Don't send synthetic hover event on a frame update
This reverts the commit 6f84a09 partially which generates a synthetic hover event on a frame update. Such hover event has never been expected in webOS and messes up the existing logic. Change-Id: I7b855d27d1d44f2fab240707ef1ec79cdbcff6e5 Task-number: QTBUG-83119 Pick-to: 5.15 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/items/qquickwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp
index 3f14b277ae..be27815090 100644
--- a/src/quick/items/qquickwindow.cpp
+++ b/src/quick/items/qquickwindow.cpp
@@ -2635,6 +2635,9 @@ void QQuickWindowPrivate::flushFrameSynchronousEvents()
ut->startAnimations();
}
+ // In webOS we already have the alternative to the issue that this
+ // wanted to address and thus skipping this part won't break anything.
+#if !defined(Q_OS_WEBOS)
// Once per frame, if any items are dirty, send a synthetic hover,
// in case items have changed position, visibility, etc.
// For instance, during animation (including the case of a ListView
@@ -2646,6 +2649,7 @@ void QQuickWindowPrivate::flushFrameSynchronousEvents()
if (!delivered)
clearHover(); // take care of any exits
}
+#endif
}
QQuickPointerEvent *QQuickWindowPrivate::queryPointerEventInstance(const QPointingDevice *device, QEvent::Type eventType) const