Details
-
Task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
In Qt Location we need this feature: it should be easy to zoom the map, but a little harder to rotate it. I.e. the initial orientation needs to be "sticky", by having an extra threshold of some kind.
When you are trying to rotate, the usual drag threshold is a bit odd to use as the rotation threshold. The gesture starts when either touchpoint (or both together) move past the drag threshold, but that's in pixels. Maybe the rotation threshold should be in degrees. That way it can be independent: you have to exceed both thresholds to start rotating, but if the rotation threshold is large enough, we'll get the desired sticky-rotation behavior; whereas if it's too low, it will turn out in practice that by the time you have exceeded the drag threshold, you have exceeded the rotation threshold too.
Attachments
Issue Links
- depends on
-
QTBUG-109373 DragHandler and PinchHandler: meaning of axis persistentValue is wrong
- Reported
- is required for
-
QTBUG-96795 QtLocation maps to Qt 6.2
- Closed
- relates to
-
QTBUG-76380 PinchHandler needs a way to limit the actions it performs
- Reported
-
QTBUG-108542 enable use of ScriptAction with Behavior
- Reported
-
QTBUG-76379 PinchHandler should have a way to reset
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-108635 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
429865,6 | PinchHandler: don't bypass property interceptors like BoundaryRule | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
443788,19 | Set arbitrary target props in QQuickDragAxis with arbitrary scaling | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
444085,1 | WIP add PinchHandler.rotationThreshold | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |
446005,1 | WIP add knob example with detents | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |