<table><tr><td style="">Pitel added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11071">View Revision</a></tr></table><br /><div><div><p>The patch definitely can wait until you finish the rework. A few thoughts that crossed my mind when reading proposed changes:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">I really like the standalone basic items placed by drag and drop.</li>
<li class="remarkup-list-item">Is floating really floating or just another layer of occupying? E.g. thick panel and on bottom appmenu (on left) and buttons (on right) (floating because they are over window label -- or this option going away?): would the appmenu elide [1] or be drawn over the buttons? (Note: I'm not saying this should be a supported use-case, just playing with possible setups in my mind and the floating is really floating would be much easier to implement.)</li>
<li class="remarkup-list-item">To support my use-case #2 all items should have<ul class="remarkup-list">
<li class="remarkup-list-item">show on: mouse out | mouse in | always (and possibly never show unless it is covered by other options, show on mouse out not available for buttons and appmenu)</li>
<li class="remarkup-list-item">checkbox to restrict mouse area used by "show on" option only to rect occupied by given item (for the in-parenthesis part of use-case #2)</li>
</ul></li>
<li class="remarkup-list-item">Some predefined presents are a great idea -- do you intent to support saving current setup as a present?</li>
<li class="remarkup-list-item">All around the rework looks like a big improvement.</li>
</ul>

<p>The use-cases I am most interested in are:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">One Liner with buttons on right</li>
<li class="remarkup-list-item">The previous one but with appmenu shown only on mouse-in and window text only on mouse-out (and preferably the mouse events should be restricted to area between icon and buttons -- i.e. if i click buttons window text is shown). This is better than One Liner setups for small screens.</li>
</ul>

<p>[1] I think this is an important feature, I tried implementing it in <a href="https://phabricator.kde.org/D11073" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D11073</a>. I must say I am surprised that there is no ElidingGridLayout or something -- the patch tries to emulate it, but without touching internal positioning code of the layout it will always be a hack... (Also why is the backend plugin private?)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R884 Active Window Control Applet for Plasma</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11071">https://phabricator.kde.org/D11071</a></div></div><br /><div><strong>To: </strong>Pitel, Plasma, martinkostolny<br /><strong>Cc: </strong>plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>