Bug 460271 - Lockscreen crashes at boot on Plasma Mobile
Summary: Lockscreen crashes at boot on Plasma Mobile
Status: RESOLVED FIXED
Alias: None
Product: layer-shell-qt
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-11 20:42 UTC by Dan Johansen
Modified: 2022-10-12 06:26 UTC (History)
0 users

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 Dan Johansen 2022-10-11 20:42:03 UTC
SUMMARY
On Plasma Mobile, we have the lockscreen set to display on boot to get the user to input the PIN before getting to the system. And this have worked for years.

Recently, since [this commit](https://invent.kde.org/plasma/layer-shell-qt/-/commit/7bd63669ea788676b34d2f99f8296e7ad8245b75), the lockscreen crashes right away. Doing the loginctl -unlock-session dance unlocks the session fine though.
Also, reverting the above commit does workaround the issue.


STEPS TO REPRODUCE
1. Boot a Plasma Mobile system with layer-shell-qt 5.25.80 or higher
2. Wait until the lockscreen shows after SDDM autologin

OBSERVED RESULT
Screen saying you need to run `loginctl unlock-session c1` is presented. 

EXPECTED RESULT
Lockscreen visible and able to unlock.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro ARM - Plasma Mobile - Dev
KDE Plasma Version: 5.25.80 and 5.25.90 tested
KDE Frameworks Version: 5.98 and 5.99 tested
Qt Version: 5.15.5 and 5.15.6 tested
Comment 1 Aleix Pol 2022-10-11 23:47:19 UTC
Can you please provide a backtrace? It will help a lot to understand what is wrong.
Comment 2 Dan Johansen 2022-10-12 06:26:44 UTC
I just rebuilt layer-shell-qt without the revert and tested it again. This time the issue did not appear, so I believe this has already been fixed somewhere else.

Sorry for the noise.