<table><tr><td style="">zzag created this revision.<br />zzag added a reviewer: KWin.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<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/D26927">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If a client has been resized, it doesn't necessarily mean that the<br />
decoration theme will schedule full repaint of the window frame. In<br />
OpenGL and Xrender scene, we have a little hack that forces a full<br />
repaint of window borders. However, we don't have one in QPainter<br />
scene which causes all sorts of weird looking artifacts when resizing<br />
a server-side decorated client.</p>
<p>We could add yet another hack in the QPainter scene, but a better<br />
approach to tackle this problem would be to make DecoratedClient<br />
schedule full repaint of the decoration. It makes code in scene<br />
plugins more straightforward and prevents us from repeating the same<br />
mistake again.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>No longer able to see invisible decoration borders when<br />
using QPainter render backend.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>repaint-full-decoration</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26927">https://phabricator.kde.org/D26927</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>decorations/decoratedclient.cpp<br />
plugins/scenes/opengl/scene_opengl.cpp<br />
plugins/scenes/xrender/scene_xrender.cpp</div></div></div><br /><div><strong>To: </strong>zzag, KWin<br /><strong>Cc: </strong>kwin, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>