On Wed, Aug 1, 2012 at 11:24 AM, Marco Martin <[email protected]> wrote: > 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 > [email protected] > https://mail.kde.org/mailman/listinfo/plasma-devel
Hi Marco, Please take a closer look. There must be something going wrong. A timer fix can't possibly be the nice solution. Cheers, Mark _______________________________________________ Plasma-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/plasma-devel
