I investigated the issue by recompiling the QtQuick module and adding some debug info in qquickflickable.cpp
I added some debug in void QQuickFlickablePrivate::handleMouseMoveEvent(QMouseEvent *event)
(I only added qDebug, the extra lines are to show the context)
if ((hMoved && !prevHMoved) || (vMoved && !prevVMoved)) q->movementStarting();
I investigated the issue by recompiling the QtQuick module and adding some debug info in qquickflickable.cpp
I added some debug in void QQuickFlickable Private: :handleMouseMov eEvent( QMouseEvent *event)
(I only added qDebug, the extra lines are to show the context)
if ((hMoved && !prevHMoved) || (vMoved && !prevVMoved))
q->movementSta rting() ;
qint64 currentTimestamp = computeCurrentT ime(event) ; mestamp - (lastPos.isNull() ? lastPressTime : lastPosTime)) / 1000.; :number( elapsed) % " currentTimestamp " % QString: :number( currentTimestam p) :number( lastPos. isNull( )) % " lastPressTime " % QString: :number( lastPressTime) :number( lastPosTime) % " vertical velocity " % QString: :number( vData.velocity) :number( hData.velocity) );
qreal elapsed = qreal(currentTi
qDebug() << QString("Elapsed " % QString:
% " lastPos.isNull " % QString:
% " lastPosTime " % QString:
% " horizontal velocity " % QString:
if (elapsed <= 0)
return;
And I added some debug in the handleMouseRele aseEvent as well
qDebug() << QString("Mouse release! Elapsed " % QString: :number( elapsed) % " vertical velocity " % QString: :number( vData.velocity) :number( hData.velocity) ); nPrivate: :mouseEventCaps (event) & QTouchDevice: :Velocity) Private: :mouseEventVelo city(event) .y() : vData.velocity;
% " horizontal velocity " % QString:
qreal vVelocity = 0;
if (elapsed < 100 && vData.velocity != 0.) {
vVelocity = (QGuiApplicatio
? QGuiApplication
}
The resulting log is at http:// pastebin. ubuntu. com/15196346/