D6572: [kstyle] Change ownership of Wayland objects so that KWin can delete them

Martin Flöser noreply at phabricator.kde.org
Sat Jul 8 13:30:50 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170708/338b0a79/attachment.html>


More information about the Plasma-devel mailing list