qtdeclarative/tests/auto
Shawn Rutledge 07aaa7c1b6 Fix PinchHandler.persistentTranslation; test cumulative native gestures
Since we do not want persistentTranslation to be always the same as
target.position, clearly we cannot use xAxis/yAxis to store the initial
target position: thus the startPos() function was wrong, and is now
removed. We need to store it in a separate m_startTargetPos variable
like DragHandler does, and as PinchHandler did before
7867a683fc.

Add an internal doc comment to clarify the arguments to
QQuickItemPrivate::adjustedPosForTransform().

tst_QQuickPinchHandler::cumulativeNativeGestures() now checks the result
of adjustedPosForTransform(): how far the target item moved.

Pick-to: 6.5
Fixes: QTBUG-111220
Change-Id: I04237cb82a1abaaeab873a0d887acaf322f262ce
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2023-04-11 17:27:42 +02:00
..
bic
cmake qt_add_qml_module: Error out if singleton is marked as internal 2023-03-02 19:31:13 +00:00
core QQmlStandardPath: always use QUrl::fromLocalFile 2023-04-03 09:31:10 +02:00
guiapplauncher Doc: Revamp "Extending QML" examples into a tutorial 2023-03-30 18:02:16 +02:00
particles Retire the qt_parse_all_arguments 2023-01-20 16:40:42 +01:00
qml tst_qqmlxmlhttprequest: remove unneeded property set in redirects 2023-04-05 14:41:12 +09:00
qmldom Remove DomItem::loadFile code-duplication and use correct environments 2023-03-29 19:07:25 +02:00
qmlls Remove DomItem::loadFile code-duplication and use correct environments 2023-03-29 19:07:25 +02:00
qmltest Make test TextInput::test_txtentry() more stable 2023-03-10 09:52:57 +01:00
qmltest-blacklist
quick Fix PinchHandler.persistentTranslation; test cumulative native gestures 2023-04-11 17:27:42 +02:00
quickcontrols Material: fix Drawer issues 2023-03-23 12:02:29 +08:00
quickdialogs Stabilize some tst_QQuickFileDialogImpl test functions 2023-03-29 08:24:42 +08:00
quicktest Retire the qt_parse_all_arguments 2023-01-20 16:40:42 +01:00
quickwidgets Fix problem with subFocusItem on non-OpenGL QSG 2023-04-07 22:52:30 +02:00
toolsupport
CMakeLists.txt