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

Attachment: testcase.qml
Description: Binary data

_______________________________________________
Plasma-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to