PlasmaComponents ScrollBar is broken
Aleix Pol
aleixpol at kde.org
Mon Jul 30 18:33:13 UTC 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcase.qml
Type: application/octet-stream
Size: 1680 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120730/ddd95d35/attachment.obj>
More information about the Plasma-devel
mailing list