<table><tr><td style="">mvourlakos added a subscriber: davidedmundson.<br />mvourlakos 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/D21013">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D21013#460745" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D21013#460745</a>, <a href="https://phabricator.kde.org/p/kossebau/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@kossebau</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D21013#460743" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D21013#460743</a>, <a href="https://phabricator.kde.org/p/mvourlakos/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@mvourlakos</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><p><a href="https://phabricator.kde.org/p/kossebau/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@kossebau</a> one information please, with this set of paches the svg mask is also applied and in COMPOSITING state for the panels?</p></div>
</blockquote>

<p>Yes. As in: at least most of the time as there are still some propagation bugs in the property chain to be uncovered and fixed. At least things work properly here after a clean plasma start with a clean cache.</p>

<p>For compositing my reference here is the Oxygen Plasma Theme with the rounded panel corners. <br />
 One can also try my special background test theme, which points issues out clearly: <a href="https://share.kde.org/s/6zJZg8RiEReFbfA" class="remarkup-link" target="_blank" rel="noreferrer">https://share.kde.org/s/6zJZg8RiEReFbfA</a></p></div>
</blockquote>

<p>This behavior now probably breaks a bit the Plasma PopUp  placement, the code of reason may be:<br />
<a href="https://github.com/KDE/plasma-framework/blob/master/src/plasmaquick/dialog.cpp#L902" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/KDE/plasma-framework/blob/master/src/plasmaquick/dialog.cpp#L902</a></p>

<p>The addition for <strong>outsideParentWindow</strong> necessity was done by me in order to find a way to place popups properly for a DOCK case (e.g. Latte).<br />
The assumption of the referenced code is that Plasma panels under COMPOSITING mode are not using the QWindow:mask() . That assumption<br />
now ends and that creates two questions:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">How Plasma PopUps should be placed correctly when the window sets a mask?</li>
<li class="remarkup-list-item">Will there be any way for Plasma popups to be placed independently of Window geometry OR Window:mask() ? For example based on</li>
</ol>

<p>the item that triggered the popup event</p>

<p>Some early approach could be: <a href="https://phabricator.kde.org/D15821" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D15821</a> that provides a way to limit the popup based on the mask() and not just the window::geometry()</p>

<p><a href="https://phabricator.kde.org/p/davidedmundson/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@davidedmundson</a> had an opinion in the past that this should be fixed properly in the feature by giving a way for the popup to know when it<br />
functions in Plasma::PanelView or a Dock and as such to behave differently</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21013">https://phabricator.kde.org/D21013</a></div></div><br /><div><strong>To: </strong>kossebau, Plasma<br /><strong>Cc: </strong>davidedmundson, mvourlakos, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>