Bug 421066

Summary: No password prompt to unlock screen after resume from suspend
Product: [Plasma] kscreenlocker Reporter: Silvan Calarco <silvan.calarco>
Component: greeterAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bhush94, bugseforuns, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: My ~/.config/kscreenlockerrc
Journal log around resume with screen unlockable

Description Silvan Calarco 2020-05-05 16:13:51 UTC
Created attachment 128182 [details]
My ~/.config/kscreenlockerrc

SUMMARY
When resuming from suspend I'm often unable to unlock the screen because there is no password prompt.

STEPS TO REPRODUCE
1. Suspend at evening
2. Resume at morning

OBSERVED RESULT
There is no password unlock prompt, also time and date display are absent, only background image is visible. Mouse/touchpad and keyboard presses have no effects. Unable to unlock.

EXPECTED RESULT
Get a password prompt to type password and unlock the screen.

SOFTWARE/OS VERSIONS
The distribution is openmamba (it's missing in platform list, can it be added?) and I'm the RPM packages maintainer.

Linux/KDE Plasma:
KDE Plasma Version: any version tested in last years
KDE Frameworks Version: any version tested in last years
Qt Version: any version tested in last years

ADDITIONAL INFORMATION
To unlock I need to press CTRL-ALT-F2, login and kill the kscreenlocker_greet process. Then when going back with ALT-F1 i get the password prompt (a new kscreenlocker_greet process is spawned).
It seems I can't reproduce the problem if I suspend/resume within a short time and also normal screen lock when PC is left on seems to always work.
I've been having this problem for years about every two mornings.
A similar bug has been closed in NEEDSINFO state, but I can give mode details as requested.
Comment 1 Nate Graham 2020-05-07 15:33:55 UTC
Are you using the Breeze theme? Seems like maybe an issue with the login screen theme itself. Can you see any QML errors on the console?
Comment 2 Silvan Calarco 2020-05-07 16:55:06 UTC
(In reply to Nate Graham from comment #1)
> Are you using the Breeze theme? Seems like maybe an issue with the login
> screen theme itself. Can you see any QML errors on the console?

Yes it's Breeze. There are some QML errors, but don't know if they are relevant.
I'm attaching parts of journal I saved some days ago when the problem happened.
Comment 3 Silvan Calarco 2020-05-07 16:55:26 UTC
Created attachment 128236 [details]
Journal log around resume with screen unlockable
Comment 4 Nate Graham 2020-05-07 17:39:13 UTC
Thanks for the info. Nothing sticks out at me there.
Comment 5 Patrick Silva 2020-10-14 20:56:24 UTC

*** This bug has been marked as a duplicate of bug 419142 ***
Comment 6 Nate Graham 2021-06-21 22:21:29 UTC

*** This bug has been marked as a duplicate of bug 370676 ***