[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: PlasmaComponents ScrollBar is broken
From:       Marco Martin <notmart () gmail ! com>
Date:       2012-08-01 9:24:30
Message-ID: 201208011124.30502.notmart () gmail ! com
[Download RAW message or body]

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
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic