<table><tr><td style="">zzag created this revision.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />zzag 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/D14946">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>On Wayland, DialogShadows doesn't attach empty tiles for disabled<br />
borders. Yet, it sets offset of 1 for them. This results in visual<br />
artifacts like this</p>
<p><a href="https://phabricator.kde.org/F6206088" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F6206088: before.png</a></p>
<p><em>KWin thinks that there is 1px tall shadow in the bottom.</em></p>
<p>In general we don't need to pass empty shadow tiles for disabled<br />
borders. Thus, that's fine to set 0 offset for them.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Started kwin_wayland:
<br /><br />
dbus-launch kwin_wayland --windowed --xwayland</li>
</ul>
<ul class="remarkup-list">
<li class="remarkup-list-item">Launched latte-dock and kate:
<br /><br />
unset DISPLAY QT_QPA_PLATFORM=wayland latte-dock & QT_QPA_PLATFORM=wayland kate</li>
</ul>
<ul class="remarkup-list">
<li class="remarkup-list-item">Opened calendar popup:</li>
</ul>
<p><a href="https://phabricator.kde.org/F6206090" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F6206090: after.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>BRANCH</strong><div><div>wayland-shadows</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14946">https://phabricator.kde.org/D14946</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/plasmaquick/dialogshadows.cpp</div></div></div><br /><div><strong>To: </strong>zzag<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>