<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="+2"><tt>Hello everyone,</tt></font></p>
<p><font size="+2"><tt>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?<br>
</tt></font></p>
<p><font size="+2"><tt>It is found in lines 163,164</tt></font></p>
<p><font size="+2"><tt>---<br>
</tt></font></p>
<p><font size="+2"><tt>width: categoriesScroll.viewport.width <br>
height: Math.max(categoriesScroll.viewport.height,
categories.height)</tt></font></p>
<p><font size="+2"><tt>---</tt></font></p>
<p><font size="+2"><tt>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:</tt></font></p>
<p><font size="+2"><tt>---------------<br>
</tt></font></p>
<p><font size="+2"><tt>width: units.gridUnit * 7 - 4 <br>
height: categories.childrenRect.height<br>
</tt></font></p>
<p><font size="+2"><tt>-----------</tt></font></p>
<p><font size="+2"><tt>and the bindings were removed and the appearance
looks the same.</tt></font></p>
<p><font size="+2"><tt><br>
</tt></font></p>
<p><font size="+2"><tt>regards, <br>
</tt></font></p>
<p><font size="+2"><tt>michail<br>
</tt></font></p>
</body>
</html>