D5321: [Notifications Applet] Don't crash when containment() disappears

David Edmundson noreply at phabricator.kde.org
Thu Apr 6 16:57:48 UTC 2017

davidedmundson added a comment.

  Your reasoning behind the bug is missing some steps.
  QObject destruction deletes children *then* emits QObject::destroyed
  Applets are children of the containment. (see Containment::addApplet())
  So if the notification applet is in the panel, it's fine (and won't crash)
  What you actually have is: panel containment -> system tray -> system tray containment -> notification applet
  System tray must be not setting applets as children of the system tray containment? Or not deleting it's containment when it deletes the applet?

  R120 Plasma Workspace


To: broulik, #plasma
Cc: davidedmundson, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170406/c2732133/attachment.html>

More information about the Plasma-devel mailing list