Bug 440677

Summary: Lockscreen password promt doesn't switch layouts after changing TTY
Product: [Unmaintained] kscreenlocker Reporter: David <david.cortes.rivera>
Component: greeterAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, bshah, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David 2021-08-07 01:22:01 UTC
SUMMARY
If I lock the screen and switch to a different TTY and back, the password prompt will not accept keyboard shortcuts for changing the keyboard layout (language), potentially leaving users locked out if they don't have a mouse with which to change the layout to one with which the password could be typed.

STEPS TO REPRODUCE
1. Configure more than 1 keyboard layout, with the switching shortcut set to Alt + Shift.
2. Lock the screen (Ctrl + L).
3. Switch to a different TTY (e.g. Ctrl + Alt + F6).
4. Switch back to the TTY where KDE was running and which currently has a locked screen.
5. Try changing the keyboard layout in the password prompt.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Aleix Pol 2022-09-19 22:38:19 UTC
I cannot reproduce. Can you see if this got addressed over time?

Is it just the one specific to the layout? Does Ctrl+Alt+K also behave the same?
Comment 2 David 2022-09-30 19:07:39 UTC
(In reply to Aleix Pol from comment #1)
> I cannot reproduce. Can you see if this got addressed over time?
> 
> Is it just the one specific to the layout? Does Ctrl+Alt+K also behave the
> same?

Seems to be fixed under plasma 5.25.5.