Summary: | Plasmashell crashes on teardown when system tray was expanded | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Kai Uwe Broulik <kde> |
Component: | System Tray | Assignee: | Konrad Materka <materka> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | materka |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-workspace/ccd4536a6ce83529bf31d65f622ba24abacc68f1 | Version Fixed In: | 5.19.0 |
Sentry Crash Report: | |||
Attachments: | Stack trace |
Description
Kai Uwe Broulik
2020-02-13 11:17:35 UTC
I think I found it,crash caused by this in PlasmoidItem.qml: Component.onDestruction: { applet = null } nothing extraordinary... I will do more tests tomorrow. Created attachment 126010 [details] Stack trace I'm attaching full stack trace. On shutdown plasma sets expanded state which then (unnecessarily?) recreates compact and full representation. Is this a bug? It is crashing on first plasmoid item in hidden area. If all items are visible it is not crashing. Plasma does not crash if https://phabricator.kde.org/D26992 is fully applied. It might be a Qt bug (I'm not sure) but easy to workaround, I will prepare a patch. Git commit ccd4536a6ce83529bf31d65f622ba24abacc68f1 by Konrad Materka. Committed on 14/02/2020 at 18:24. Pushed by kmaterka into branch 'master'. [applets/SystemTray] Fix crash on shutdown Summary: When having expanded System Tray once, plasmashell crashes on teardown. Fixes regression introduced in D27085. FIXED-IN: 5.19.0 Test Plan: 1. Start plasmashell 2. Open System Tray popup, close it again 3. run kquitapp5 plasmashell, it should not crash Reviewers: #plasma_workspaces, #plasma, broulik, ngraham Reviewed By: ngraham Subscribers: anthonyfieroni, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D27401 M +1 -5 applets/systemtray/package/contents/ui/items/PlasmoidItem.qml https://commits.kde.org/plasma-workspace/ccd4536a6ce83529bf31d65f622ba24abacc68f1 |