graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY When the decoration size changes the textures get recreated and need to be properly filled. So far KWin used the scheduled repaint geometry in this situation. If the decoration didn't schedule the complete geometry for repain there will be an empty area in the decoration texture. This change ensures that the complete texture gets repainted when they are recreated. Thus the decoration rendering is more fault tolerant towards potential bugs in the decoration. With no-compositing and XRender compositing this problem was not reproducable and already fault tolerant, so OpenGL just catches up with the other modes. BUG: 371735 FIXED-IN: 5.8.3 REPOSITORY rKWIN KWin BRANCH fix-decoration-repaint-opengl-5.8 REVISION DETAIL https://phabricator.kde.org/D3186 AFFECTED FILES scene_opengl.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas