| Summary: | Changes to pinned apps are only saved at quit, so changes can be lost if there's a power outage or plasmashell crashes | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Paolo Zamponi <feus73> |
| Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | firlaevhanskde.upstream314, kde, nate, qydwhotmail |
| Priority: | NOR | Keywords: | qt6, wayland-only |
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Paolo Zamponi
2023-09-06 13:35:58 UTC
Looks like while changes like adding and removing widgets are immediately written to .config/plasma-org.kde.plasma.desktop-appletsrc, changes to the pinned launchers in the task manager are now only written when plasmashell exits, and does so "gracefully"? When I run plasmashell --replace, the changes are saved and kept, but if I not-so-gently kill either plasmashell or KWin, the changes are not saved. When shutting down / logging out, plasmashell behaves as if KWin died, according to the journal (this is the case on 5.27 too): plasmashell[3262]: The Wayland connection broke. Did the Wayland compositor die? Good investigation. That seems likely, as my Plasmashell has started to crash on quit too and I can reproduce the bug. That will be fixed with https://invent.kde.org/plasma/kwayland-integration/-/merge_requests/48 though, which should be sufficient to fix this specific issue. However let's broaden the topic of this bug report a bit to request that configs get saved before quit so we canharden Plasmashell a bit against crashes, power loss, etc. > However let's broaden the topic of this bug report a bit to request that configs get saved
> before quit so we can harden Plasmashell a bit against crashes, power loss, etc.
That's how it already worked in Plasma 5 (on 5.27.7 at least); any changes would be written to disk immediately.
It was apparently changed in Plasma 6, either intentionally or not, but curiously *only for pinned task manager items and nothing else* as far as I can tell, which seems quite odd.
Interesting. I'm not aware of any intentional work there, so perhaps it was an oversight or an unintentional regression. It seems it works now... Nah, can still reproduce if I re-arrange pinned apps and then do `kill -9 plasmashell` in a terminal window. Although if I kill without -9, it does work. `kill -9` is more severe than a crash, so maybe you're right! |