Bug 423092

Summary: When on another VT, auto-lock is done upon VT switch, rather than in the background
Product: [Plasma] plasmashell Reporter: Gabor <gabor>
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: bshah, nate
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gabor 2020-06-17 09:23:02 UTC
SUMMARY
I have set lockscreen auto after 1min and allow unlocking without password for 4sec. Now If I am on an other tty for more than one min, after I switch back, I can see the desktop, then it locks itself, and I can unlock it easily within the 4sec without password (even after 2min).

STEPS TO REPRODUCE
1. set lockscreen auto after 1min and allow unlocking without password for 4sec
2. switch to other tty for example ctrl+alt+F2
3. wait at least 1 min and switch back for example alt+f1

OBSERVED RESULT
plasma just locks and unlocks

EXPECTED RESULT
lock in the background not when it's activated, or at least don't automatically unlock if 60+4 sec already spent.

SOFTWARE/OS VERSIONS.
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0