graesslin created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  KWin has a problem that breeze crashes it on tear down if the shadow was
  created. This is due to breeze destroying the Wayland connection after
  KWin destroyed it which triggers a crash in libwayland.
  
  https://phabricator.kde.org/D6571 addresses this problem by deleting the 
ConnectionThread created by
  plugins prior to destroying the Wayland server.
  
  By changing the ownership of the registry and the interfaces to be
  children and grandchildren of the ConnectionThread we can ensure that
  KWin can clean up this area properly. For non KWin cases this doesn't
  change anything, everything is still deleted as a child of ShadowHelper.

TEST PLAN
  Ensured that the Registry gets deleted before KWin's own connection

REPOSITORY
  R31 Breeze

BRANCH
  wayland-shadow-parent

REVISION DETAIL
  https://phabricator.kde.org/D6572

AFFECTED FILES
  kstyle/breezeshadowhelper.cpp
  kstyle/breezeshadowhelper.h

To: graesslin, #kwin, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, 
abetts, sebas, apol, mart, lukas

Reply via email to