Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0 Beta 4
-
-
d6e560c356791d516856c38566104fbb2bb6c730 (qt/qtdeclarative/5.12)
Description
Mac OS and TrackPad
I am using a PinchHandler and a DragHandler in the same Rectangle and whenever I try to use a pinch gesture, DragHandler takes the event and throws my rectangle to 0,0 position
I made a change that DragHandler is disabled whenever PinchHandler is active, but with that change, most of the times DragHandler manages to take over the drag event before the pinch handler. Even if using maximumPointCount (1 for drag) and minimumPointCount (2 for pinch) does not help.
Also if I set acceptedButtons to Qt.RightButton for DragHandler, I can still drag the rectangle with one finger, but this might be related to QTBUG-71955.
Please find the attached example app which demonstrates the behaviour
Attachments
Issue Links
- relates to
-
QTBUG-92064 PinchHandler target scale jumps when pinching a second time via native gesture
- Closed
For Gerrit Dashboard: QTBUG-71972 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
247505,3 | When there are no points to grab, then we should return false | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |