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

List:       kde-panel-devel
Subject:    PlasmaComponents ScrollBar is broken
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2012-07-30 18:33:13
Message-ID: CACcA1Rq1mapacqCGKC4foCLGyP6ncoRzuJS37D9koN8wwXxvBw () mail ! gmail ! com
[Download RAW message or body]

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

["testcase.qml" (application/octet-stream)]

_______________________________________________
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