Bug 495031

Summary: Cannot authenticate after external display shuts down.
Product: [Unmaintained] kscreenlocker Reporter: Naxdy <xnaxdy>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jpetso
Priority: NOR Keywords: regression
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Naxdy 2024-10-19 10:24:38 UTC
SUMMARY
Once my external display shuts down, I can no longer use kscreenlocker to unlock my session. Instead, I have to switch to a tty and use `loginctl` to get back in.

Relevant logs:
Oct 19 12:20:58 nxnix kscreenlocker_greet[521733]: file:///nix/store/l5fdrb4ha7v7ybf62hwzjwgd7i1x354z-plasma-desktop-6.2.0/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockScreenUi.qml:280: TypeError: Property 'respond' of object length is not a function
Oct 19 12:20:56 nxnix kscreenlocker_greet[521733]: file:///nix/store/l5fdrb4ha7v7ybf62hwzjwgd7i1x354z-plasma-desktop-6.2.0/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockScreenUi.qml:128: TypeError: Property 'startAuthenticating' of object TypeError: Type error is not a function


STEPS TO REPRODUCE
1. Lock session
2. Turn off all displays
3. Turn display back on
4. Attempt to unlock session

OBSERVED RESULT
Session won't unlock

EXPECTED RESULT
Session unlocks

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS Unstable
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
-
Comment 1 Jakob Petsovits 2024-10-24 15:30:55 UTC
Marking as duplicate of Bug 494927 given the similar log entries and display configuration changes in the reproduction steps.

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