diff options
author | Jaeyoon Jung <jaeyoon.jung@lge.com> | 2018-06-12 20:25:29 +0900 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-06-25 14:18:04 +0000 |
commit | 1686104675b66fff6c0196b812312825913e8755 (patch) | |
tree | 0379f29184e4fade0a270eb8bc6667175e3dd7b1 /src/quick | |
parent | 5d6c671232ca466a929cc23ee8ae92de2ce9ca8d (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
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit a06e873a1e80eda2f8e946ebe4e2f7631c78f53d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quick')
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index e8b6d8d7a8..1b7315688b 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -2452,6 +2452,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 @@ -2463,6 +2466,7 @@ void QQuickWindowPrivate::flushFrameSynchronousEvents() if (!delivered) clearHover(); // take care of any exits } +#endif } QQuickPointerEvent *QQuickWindowPrivate::queryPointerEventInstance(QQuickPointerDevice *device, QEvent::Type eventType) const |