diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-11-23 12:49:51 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-11-23 15:03:01 +0100 |
commit | d0733d14063bbe62082b581599e78e312d3008be (patch) | |
tree | 22d633e5d9809bde36ede3029aa463c8dce3e5fc /tests/auto/quick/qquickitem | |
parent | e94eeb48b5a7f6a53ff9e48ffc216113852bccf4 (diff) |
Fix multipointtoucharea_interop tests
In several places these were doing stuff like
touch.press(1, p1).commit();
QTRY_VERIFY(devPriv->pointById(0)->passiveGrabbers.contains(drag));
The point ID is really the key in activePoints, it doesn't necessarily
start from 0; so pointById() has to be given the same point ID that was
used in the event, otherwise it will construct a new point(0).
But now tst_MptaInterop::touchesThenPinch fails further down: after the
complicated series of events, when only one point is still being dragged,
DragHandler fails to grab it and start dragging for some reason.
dragHandlerInParentStealingGrabFromItem() uses mouse not touch.
Pick-to: 6.0
Task-number: QTBUG-86729
Change-Id: I7ad0d3f30cb5fee15fe83183d62ee10a020c14df
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickitem')
0 files changed, 0 insertions, 0 deletions