You sure noticed that containments in the context view are placed in a line instead of in a 2x2 grid like it used to be. Here is what it seems to be happening: <br><br>Plasma::Applet::flushPendingConstraintsEvent is called automatically to update all pending constraints.<br>
&nbsp;&nbsp;&nbsp; |-&gt; Plasma::ContainmentPrivate::containmentConstraintsEvent is called (notice the private)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |-&gt; Plasma::ContainmentPrivate::positionContainment places containments in a line.<br><br>Since they are all private functions I can&#39;t think of a way to avoid that behavior while using Plasma::Containment class.<br>
<br>A way to get the containments placed in a 2x2 grid would be to set CONTAINMENT_COLUMNS = 2; in containment_p.h but for that we would have to convince plasma dev&#39;s that placing containments in a 2x2 grid looks better. Other solution would be to hurry plasma devs to implement a layouting for containments :P ... or submiting a patch that is not too intrusive.<br>
-- <br>&nbsp;&nbsp;&nbsp; -William-<br>