Bug 505173

Summary: kscreelocker not unlockable if unlocked during the passwordless unlock interval
Product: [Plasma] plasmashell Reporter: alerikaisattera
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REOPENED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description alerikaisattera 2025-06-03 16:28:18 UTC
SUMMARY
Attempting to unlock kscreenlocker during the passwordless unlock interval has no effect. Lock screen can be interacted with but cannot be unlocked

STEPS TO REPRODUCE
1. try to unlock the screen during the passwordless unlock interval

OBSERVED RESULT
kscreenlocker doesn't unlock. It can be interacted with but cannot be unlocked

EXPECTED RESULT
kscreenlocker unlocks

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-06-04 16:36:43 UTC
Can you write detailed steps to reproduce that show exactly what you're doing to trigger this issue? In particular I'd like to know:
1. How long you have the passwordless unlock interval set
2. How you're unlocking during this interval: password, fingerprint, yubikey, etc

Thanks!
Comment 2 alerikaisattera 2025-06-04 17:23:43 UTC
5 seconds, password only
Comment 3 Nate Graham 2025-06-04 17:50:27 UTC
Thanks. How are you able to enter a password during the "Delay before password required" duration? When I try this, it unlocks immediately, as it's supposed to do.

Some questions:
- What OS are you using?
- How did you install Plasma?
- What is the output of `cat /etc/pam.d/kde`?
Comment 4 Bug Janitor Service 2025-06-19 03:48:02 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-07-04 03:47:53 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 6 alerikaisattera 2025-07-22 13:21:53 UTC
Still occurs in 6.3.6, albeit very rarely. Most of the time, it does unlock

>How are you able to enter a password during the "Delay before password required" duration?

When this bug occurs, the password text field is usable, but "enter" and unlock button don't do anything

>What OS are you using?

Linux

>How did you install Plasma?

It came pre-installed

> - What is the output of `cat /etc/pam.d/kde`?

#%PAM-1.0

auth            include         system-login

account         include         system-login

password        include         system-login

session         include         system-login
Comment 7 alerikaisattera 2025-09-03 16:42:26 UTC
Persists in Plasma 6.3.6

This bug is far more dangerous in KDE Wayland since forcible termination of kscreenlocker takes down entire GUI session, see https://bugs.kde.org/show_bug.cgi?id=509079