Thanks for the suggestions.

On Wed, 2011-08-31 at 18:05 +0300, Artem Marchenko wrote:
> If you don't need the flicking effects, do you really need Flickable then? 
> Maybe coding your own movable rectangle could be easier?
Flicking effects are cool. Inability to stop the control in the right place is 
uncool.

> If you do see the value in exactly Flickable, play with the properties that 
> control the flicking behavior especially flickDeceleration, 
> maximumFlickVelocity and maybe even pressDelay. You may be able to nearly get 
> rid of flickability [when needed].
I tried playing with those without success.

The problem is with the Flickable's estimate of the velocity at the end
of a drag movement. You can be dragging really slowly but if there is a
small rapid change in position as you lift your finger, the Flickable
sees it and scoots off to the side.

I've written my own version of Flickable now that uses a filter to
determine the average velocity whilst dragging (over the preceding 100ms
or so) and uses that for its post touch movement. This works very
nicely.


_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to