graesslin created this revision. graesslin added reviewers: Plasma, broulik, hpereiradacosta. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY This is a change mostly for KWin (the Wayland compositor). The internal Wayland connection is created after the QStyle is created in the case of KWin. But both are created before the event dispatcher is run for the first time. So delaying by one cycle makes it work for KWin and also all other Wayland applications. BUG: 372001 FIXED-IN: 5.8.4 REPOSITORY rBREEZE Breeze BRANCH delay-init-wayland-shadow-5.8 REVISION DETAIL https://phabricator.kde.org/D3239 AFFECTED FILES kstyle/breezeshadowhelper.cpp kstyle/breezeshadowhelper.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #plasma, broulik, hpereiradacosta Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas