Binding loop in AppletConfiguration.qml

Michail Vourlakos mvourlakos at gmail.com
Tue Aug 16 13:07:04 UTC 2016


Hello everyone,

there is a binding loop in the AppletConfiguration.qml in 
org.kde.plasma.desktop/contents/configuration/ and it influences all the 
configuration dialogs of applets. Is it important?

It is found in lines 163,164

---

width: categoriesScroll.viewport.width
height: Math.max(categoriesScroll.viewport.height, categories.height)

---

It is found in the categories in the configuration dialog.. the child of 
a QtControls.ScrollView is using its viewport to count its size and that 
creates a binding loop. I changed them with:

---------------

width: units.gridUnit * 7 - 4
height: categories.childrenRect.height

-----------

and the bindings were removed and the appearance looks the same.


regards,

michail

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160816/ca399385/attachment.html>


More information about the Plasma-devel mailing list