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? REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D5321 To: broulik, #plasma Cc: davidedmundson, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol