SUMMARY Screen locker stops working after { plasmashell --replace; } STEPS TO REPRODUCE 1. { plasmashell --replace; } 2. Wait until the old plasma shell process quits. 3. { sleep 300; } OBSERVED RESULT The screen is unlocked. EXPECTED RESULT Lock the screen! SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
plasmashell is independent of the screenlocker. This is not the cause. Please confirm your screen locker settings, whether this is X or wayland and please check if any inhibitions are active in the battery applet.
(In reply to David Edmundson from comment #1) > plasmashell is independent of the screenlocker. > This is not the cause. > > Please confirm your screen locker settings, Autolock after 5 min. this is X > please check if any inhibitions are active in the battery applet. This is a desktop machine without a battery (other than CMOS).
Cannot reproduce.
> please check if any inhibitions are active in the battery applet. This is a desktop machine without a battery (other than CMOS). You'll still have the applet
(In reply to David Edmundson from comment #4) > > please check if any inhibitions are active in the battery applet. > This is a desktop machine without a battery (other than CMOS). > > > You'll still have the applet The problem goes away after telling Plasma shell to quit and relaunching it.
> The problem goes away after telling Plasma shell to quit and relaunching it. I boldly hypothesise that —-replace tries to register interfaces before the former shell has quit, resulting in missing interfaces.
Thank you for reporting this issue in KDE software. As it has been a while since it was reported, can we please ask you to see if you can reproduce the issue with a recent software version? Like Plasma 5.25, or ideally 5.26? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!