Bug 465028

Summary: Plasma does not launch when kwin crashes if it was restarted before that
Product: [Plasma] plasmashell Reporter: gudvinr+kde
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: kde
Priority: NOR    
Version First Reported In: 5.26.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description gudvinr+kde 2023-01-30 08:16:51 UTC
SUMMARY

If you run plasmashell --replace at some point in session lifetime nad then kwin crashes, you see just black abyss with cursor.
Normally, even if kwin crashes, plasma restarted as well.

STEPS TO REPRODUCE
1. run plasmashell --replace
2. intimidate kwin to crash

OBSERVED RESULT
Black screen

EXPECTED RESULT
Plasmashell restarts

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX Vega M GL Graphics
Comment 1 David Edmundson 2023-01-30 10:09:37 UTC
>If you run plasmashell --replace 

If you manually take over management of the process from the system then it's on you to keep that working.

You probably want
systemctl --user restart plasma-plasmashell
Comment 2 gudvinr+kde 2023-01-30 10:19:33 UTC
(In reply to David Edmundson from comment #1)
> If you manually take over management of the process from the system then
> it's on you to keep that working.

To be fair, nowhere across whole KDE people mention implications of that as `plasmashell --replace` is basically a thing everyone suggests doing when you need to replace plasma for some reason.