<table><tr><td style="">kossebau created this revision.<br />kossebau added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />kossebau requested review of this revision.
</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/D21803">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>With Plasma dialogs & tooltips the mask is only set on the widget itself<br />
if compositing is off. Instead is the mask explicitly passed for the<br />
KWindowEffects.<br />
The recent changes to fix the blurbehind & contrast mask with panels<br />
instead turned to always set the mask on the widget. For some reason<br />
yet to be understood this can sometimes result in an offset by a pixel<br />
between the mask used for painting and the mask used for the window effects.</p>
<p>Aligning the mask setting code with the one for dialogs & tooltips makes<br />
the symptom go away for now, and also delivers consistency.</p>
<p>CCBBUG: 406380</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Using different themes, including Adapta & Arc Dark, a gap can no longer<br />
been seen. Only with compositing turned off, which is old behaviour due to<br />
the real bug yet to understand completly.<br />
Resizing panels or changing screen resolution also works without breaking<br />
rendering or panel contents interaction.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>alignpanelmaskhandlingtodialog</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21803">https://phabricator.kde.org/D21803</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/panelview.cpp<br />
shell/panelview.h</div></div></div><br /><div><strong>To: </strong>kossebau, Plasma<br /><strong>Cc: </strong>plasma-devel, LeGast00n, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>