PlasmaComponents ScrollBar is broken

Marco Martin notmart at gmail.com
Wed Aug 1 09:24:30 UTC 2012


On Wednesday 01 August 2012, Aleix Pol wrote:
> 
> Well, I've just tried it, it's definitely better without the warning
> but not fixed yet.
> 
> The idea of this example is that it will go to the end of the list
> every time a new data enters (like in a chat or the log when you're
> updating your system, that's the two places I was planning to use
> this).
> 
> If you see in my example (you can run it using
> kde:scratch/apol/kdeqmlviewer if you want) you can see that if the
> scrollbar has "interactive: false" it works just fine (or if you
> removethe scrollbar, of course), but if you have it there it doesn't
> scroll until the end but halfway, like to the end but 6 px.
> 

from what i understood besides the position the handle must correctly update 
its size too, and if both are not correct, the range position will be 
miscalculated.
i've now committed a small delay to the range position update trough a timer 
and seems to work corretly now

Cheers,
Marco Martin


More information about the Plasma-devel mailing list