diff options
author | Frédéric Lefebvre <[email protected]> | 2025-06-24 16:38:31 +0200 |
---|---|---|
committer | Frederic Lefebvre <[email protected]> | 2025-07-08 17:40:04 +0000 |
commit | 28b134a5e92def1c9d9432354a9d446fa36b7390 (patch) | |
tree | c7bc2225ec6c8deb394a366170a48ad759c8fc3d | |
parent | dc90dfad74b899b6b966549c19ebdd9b737765c5 (diff) |
tst_MouseAreaInterop::
dragHandlerInSiblingStealingGrabFromMouseAreaViaTouch exhibits
occasional flakiness on openSuSE 15.6.
Fix the flakiness on openSUSE 15.6
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I823b522b54710e34788b718aa9f0a22254981f5c
Reviewed-by: Axel Spoerl <[email protected]>
-rw-r--r-- | tests/auto/quick/pointerhandlers/mousearea_interop/tst_mousearea_interop.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/quick/pointerhandlers/mousearea_interop/tst_mousearea_interop.cpp b/tests/auto/quick/pointerhandlers/mousearea_interop/tst_mousearea_interop.cpp index b1e5811905..051731a349 100644 --- a/tests/auto/quick/pointerhandlers/mousearea_interop/tst_mousearea_interop.cpp +++ b/tests/auto/quick/pointerhandlers/mousearea_interop/tst_mousearea_interop.cpp @@ -116,6 +116,10 @@ void tst_MouseAreaInterop::dragHandlerInSiblingStealingGrabFromMouseAreaViaTouch QQuickView * window = windowPtr.data(); auto devPriv = QPointingDevicePrivate::get(touchscreen.get()); + const QPoint pos = QGuiApplication::primaryScreen()->availableGeometry().topLeft(); + window->setFramePosition(pos); + QTRY_COMPARE(window->framePosition(), pos); + QPointer<QQuickPointerHandler> handler = window->rootObject()->findChild<QQuickPointerHandler*>(); QVERIFY(handler); QQuickMouseArea *ma = window->rootObject()->findChild<QQuickMouseArea*>(); |