aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2021-07-02 15:51:03 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2021-07-07 22:35:53 +0200
commitb3d9dd9af3d867f9b5fad195d91c011618bb8c61 (patch)
treebeac79c2a359cbaec9d8010917e26058103c13d7
parent983afd069a587ce2f5bb82c4d16a343ae98534a5 (diff)
tst_splitview.qml: ensure hover events are sent to handles
Task-number: QTBUG-94968 Change-Id: I7bc4ef907097fe7b1517f9419942fbfe06a4cc62 Pick-to: 6.2 Reviewed-by: Igor Bugaev <freedbrt@gmail.com> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--tests/auto/controls/data/tst_splitview.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_splitview.qml b/tests/auto/controls/data/tst_splitview.qml
index 5281e1e8..b9ace27e 100644
--- a/tests/auto/controls/data/tst_splitview.qml
+++ b/tests/auto/controls/data/tst_splitview.qml
@@ -2127,7 +2127,7 @@ TestCase {
// Move the mouse over the handle.
var handles = findHandles(control)
var targetHandle = handles[0]
- // Test fails if we don't do two moves for some reason...
+ // Test fails if we don't do two moves for some reason... QTBUG-94968
mouseMove(targetHandle, targetHandle.width / 2, targetHandle.height / 2)
mouseMove(targetHandle, targetHandle.width / 2, targetHandle.height / 2)
verify(targetHandle.SplitHandle.hovered)
@@ -2138,6 +2138,7 @@ TestCase {
// Move the mouse back over the handle.
mouseMove(targetHandle, targetHandle.width / 2, targetHandle.height / 2)
+ mouseMove(targetHandle, targetHandle.width / 2, targetHandle.height / 2)
verify(targetHandle.SplitHandle.hovered)
// Move the mouse to the MouseArea on the right. The handle should no longer be hovered.