Summary: | Removed widget re-appears back after relogin if I do logout while "Undo" notification is visible | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
Component: | general | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, kishore96, machitgarha, nate, plasma-bugs, vasua.ukraine |
Priority: | HI | Keywords: | usability |
Version: | 5.22.90 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/plasma-framework/commit/1bd3d63ac5b2c57d91c762c63ef87d4333485b58 | Version Fixed In: | 5.102 |
Sentry Crash Report: |
Description
Patrick Silva
2020-02-03 18:44:09 UTC
The same happens with a widget removed from Plasma panel. Not reproducible if I close the "Undo" notification before logout. I'm guessing the reason it seems wayland specific is because on X11 plasmashell gets a slightly nicer signal to quit in which it saves it's config. I do have a pending plan for that Can reproduce on X11 too. I think this is because the widget is still technically there while the unto notification is visible, and is only destroyed when the notification times out or is manually dismissed. *** Bug 457588 has been marked as a duplicate of this bug. *** *** Bug 460872 has been marked as a duplicate of this bug. *** Git commit 1bd3d63ac5b2c57d91c762c63ef87d4333485b58 by Nate Graham, on behalf of Marco Martin. Committed on 06/12/2022 at 15:23. Pushed by ngraham into branch 'master'. Mark transient applets in config When deleting an applet it doesn't really delete it but sets it invisible and marks it as "transient" to be able to undo the deletion. If plasma is killed or crashes, the information that it was deleted is lost and Plasma recreates it on the next launch. This commit saves the "transient" property in the config and on launch actually cleans the config and doesn't load those. Not actually deleting the config groups on first delete, as it would cause config loss on undo. FIXED-IN: 5.102 M +4 -0 src/plasma/containment.cpp M +3 -0 src/plasma/corona.cpp M +6 -0 src/plasma/private/applet_p.cpp https://invent.kde.org/frameworks/plasma-framework/commit/1bd3d63ac5b2c57d91c762c63ef87d4333485b58 |