SUMMARY I can't reproduce this behavior on X11. STEPS TO REPRODUCE 1. start Wayland session 2. right click on desktop, click on "Add widgets..." 3. drag a widget and drop it on desktop (I used Analog Clock during my test) 4. close the widget explorer 5. right click on the widget added to desktop, click on "Remove <widget>" (plasma shows a notification with a button to undo removing) 6. while the notification is still visible, do logout 7 start Wayland session again OBSERVED RESULT widget removed in the steps above is present on your desktop again EXPECTED RESULT removed widget does not back after relogin SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.17.90 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.1
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