KineticScrolling strategies

Marco Martin notmart at gmail.com
Tue Oct 6 21:54:20 CEST 2009


On Tuesday 06 October 2009, Artur Souza (MoRpHeUz) wrote:
> Hello :)
>
> On Tuesday 06 October 2009, 16:15 Marco Martin wrote:
> > the Plasma::KineticScrolling private class had a quite a painful history.
> > it was wrote accessing directly the scrollwidget internal widgeet, then
> > migrated to a property based system using percentages as scroll values.
> > now it has still some problems, the horizontal and vertical scroll should
> >  be setted in the same property to be a bit more efficient as kenneth
> >  pointed out in the webkit thread and there is always the risk of losing
> >  precision.
>
> The discussion was about setting  the scroll value in the *same property*
> for both orientations or about having the same "kinetic engine" for both ?

like, the view animation is scrolling slightly in diagonal, so we want to move 
the inner widget a single time, instead of moving horizontally then vertically

> Cheers,
>
> --------------------------------------------------------------
> Artur Duque de Souza
> openBossa
> INdT - Instituto Nokia de Tecnologia
> --------------------------------------------------------------
> Blog: http://blog.morpheuz.cc
> PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
> --------------------------------------------------------------


-- 
Marco Martin


More information about the Plasma-devel mailing list