Details
-
Task
-
Resolution: Done
-
P4: Low
-
None
-
None
-
1fdbbb49d9f2d2bb62e151a29e5615031af6606a (qt/qtbase/dev), 0c69b2995 (6.4), 5fa585a9d (dev)
Description
import QtQuick 2.0 import QtQuick.Window 2.0 Window { width: 640; height: 480; color: "black"; visible: true Rectangle { anchors.fill: parent anchors.margins: 50 MultiPointTouchArea { anchors.fill: parent minimumTouchPoints: 1; maximumTouchPoints: 5 touchPoints: [ TouchPoint { id: touch1 onXChanged: console.log("pressed " + pressed + " velocity " + velocity) } ] } } }
I'm seeing zero velocity on Linux. So far I think we depend on the platform to provide velocity, but we could also synthesize it when it's not already provided by tracking the distance moved since the last update. That could be done either in the platform plugin or at the time that the QTouchPoint is created or updated.
Attachments
Issue Links
- relates to
-
QTBUG-104471 tst_QQuickListView2::tapDelegateDuringFlicking fails on Android
- Reported
-
QTBUG-63491 [Android]: Send all the touch points available including the historical points when a motion event is received
- Reported