KineticScrolling strategies

Marco Martin notmart at gmail.com
Tue Oct 6 21:15:55 CEST 2009


Hi all,
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. 

webkit has 2 properties that i think could be used in this case too: the page 
size and page position.
this patch http://reviewboard.kde.org/r/1799/ tries to use that method.

now, i'm wondering, what is really the best way? since i already made 
adenilson and igor basically rewrite it one time i would really get this 
right.

comments? opinions?

Cheers,
Marco Martin


More information about the Plasma-devel mailing list