Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10.0
-
None
-
MSVC 2015 (64 bits) / Windows 8.1 / Windows 10
Description
When I drag object thanks to PinchHandler (2 fingers minimum) and after I drag object with DragHandler (1 finger only). Object starts to be dragged (DragHandler) in a bad position (PinchHandler drag start position).
You can visual example above. (Step1 -> Step2 -> Step3 -> Step4 (result) )
I tried to debug in Qt Source and I found that "onGrabChanged ("qquickdraghandler.cpp")
function is called when I release one fingers on my object. When this function is called, "initializeTargetStartPos" is called too so m_targetStartPos is set.
After, when I start dragging object (one finger only, so it's using DragHandler), m_targetStartPos seems not good to realize translation.
I hope my above explanations whill help you to solve this problem.
Attachments
Issue Links
- relates to
-
QTBUG-67965 PinchHandler: if the first-pressed touchpoint is released first, the target item jumps
- Reported