PlasmaComponents ScrollBar is broken

Marco Martin notmart at gmail.com
Mon Jul 30 18:43:10 UTC 2012


On Monday 30 July 2012, Aleix Pol wrote:
> Hi,
> I've been trying to get two applications to work properly that use the
> PlasmaComponents: the QuickChat plasmoid (ktp-text-ui) and muon
> discover. On both of them I've had big problems while using Flickable
> elements programatically (that is, playing with the contentY property)
> while having a scrollbar. Note that the test case attached works
> without a scrollbar, but with the scrollbar it starts to do weird
> stuff.
> 
> I've been looking through the code, and to me it seems like the
> RangeModel is messing the whole implementations. There are two
> important properties there value and position. And changing any of
> those make the other change so we enter quite some big loops of
> changes that are a bit annoying.
> 
> I've been thinking of rewriting the ScrollBar without this RangeModel,
> but maybe that's only because I don't understand it enough. Can
> anybody look into this and give me a hand? I think it would be really
> interesting to sort this one out!
> 
> Aleix

yep, i see the binding loops, i can look into it. (daker, are you still there? 
;)

are you experiencing also problems in the behavior? the testcase seems to 
behave fine here

-- 
Marco Martin


More information about the Plasma-devel mailing list