diff options
author | Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> | 2024-06-17 21:43:37 +0200 |
---|---|---|
committer | Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> | 2024-06-25 14:43:40 +0000 |
commit | 6bda8fc897b8a4b12720121a45533ef4d2a599da (patch) | |
tree | 47da5c81036f13e2050b029bd78f22f567321436 /tests/auto/qmlls/utils/data/findUsages/signalsAndHandlers/signalAndHandlers2.qml | |
parent | 018b34e07bcd9110819fb9f17ba131958c618dd2 (diff) |
The global position used for calculating the drag distance causes an
issue when swipe delegates are placed at different axes. For instance,
a horizontal swipe can remove items even when swipe delegates are placed
vertically. This is because the calculated drag distance will be w.r.t
to the screen coordinates system and not the item coordinate system.
This patch fixes that issue by converting the screen coordinates to item
coordinates when calculating the drag distance.
Fixes: QTBUG-125906
Pick-to: 6.8 6.6 6.7 6.5
Change-Id: If6dd03d43e87386f807ec8bf8c16eb0566b79363
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/qmlls/utils/data/findUsages/signalsAndHandlers/signalAndHandlers2.qml')
0 files changed, 0 insertions, 0 deletions