Bug 457970 - When kwin_wayland crashes and takes down all your apps, ksmserver should restart and restore them
Summary: When kwin_wayland crashes and takes down all your apps, ksmserver should rest...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: master
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-08-16 20:32 UTC by Nate Graham
Modified: 2025-02-22 17:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2022-08-16 20:32:44 UTC
Git master everything KDE on Fedora 35.


STEPS TO REPRODUCE
1. Use systemd boot.
2. Make kwin_wayland crash, or else kill it yourself.

OBSERVED RESULT
Plasma restarts, but with no apps open that were open before, because ksmserver didn't restart too.

EXPECTED RESULT
ksmserver also restarts and re-opens all the apps you had open at the moment KWin crashed.

ADDITIONAL INFORMATION
If I manually run `systemctl --user restart plasma-ksmserver.service`, ksmserver launches and immediately restores all the apps that went down when KWin crashed. So it would be nice for this to happen automatically, somehow.
Comment 1 Nate Graham 2022-08-16 20:37:47 UTC
Several other background-ish services also fail to restart in this case:

● plasma-baloorunner.service                                                                       >
● plasma-krunner.service                                                                           >
● plasma-kscreen-osd.service                                                                       >
● plasma-ksmserver.service                                                                         >
● plasma-kwallet-pam.service 

Could they all be fixed in a generic way, or would this require something to specially fix each of them?