Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.10.0 RC
-
None
-
e4bea7805a229d3625f110f844d908e2abe790b5
Description
It's an old and well-known problem at this point, and we've solved it several times, but none of the recent solutions ever got reviewed and committed. It's easy to see when you make circular motions with multiple fingers: sometimes the sliders are dragging, sometimes the Flickable grabs, and sometimes when that happens, the DragHandler's vertical constraints are broken.
https://codereview.qt-project.org/#/c/207463/ might help.
https://codereview.qt-project.org/#/c/209816/ might help, but might also break more complex use cases.
https://codereview.qt-project.org/#/c/191786/ might help and has been sitting unreviewed since April.
It might be good to have two solutions: 1) the DragHandler has to be sure to use the right coordinate system. That's the main thing, because otherwise there will be bugs in other use cases. 2) if it's also true that the DragHandler should not steal the grab back after it's already been taken, that's a secondary fix which will mask the original bug.
Attachments
Issue Links
- resulted in
-
QTBUG-74966 DragHandler makes its target jump if you start dragging in the margin area
- Closed
For Gerrit Dashboard: QTBUG-64852 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
191786,8 | Don't deliver remaining touchpoints to PointerHandlers if one is mouse | wip/pointerhandler | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
207463,12 | DragHandler: don't accept; steal grab; give up if dragged wrong | 5.11 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
209816,8 | Fix draghandler to respect axis constraints | 5.11 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
219155,6 | Fix draghandler to respect axis constraints | 5.10 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |