Bug 465566

Summary: Password entry field one one screen has focus stolen when a different slow screen turns on
Product: [Plasma] kscreenlocker Reporter: Nicolas F. <kdebugs>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: nate, postix
Priority: NOR Keywords: usability
Version: 5.26.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=409226
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nicolas F. 2023-02-10 23:59:48 UTC
SUMMARY

In a multi-monitor setup, if one monitor takes longer to wake up than the other, kscreenlocker switches the focus from the password entry field to the new monitor during typing. This prevents me from inputting my password immediately after the primary monitor wakes up.


STEPS TO REPRODUCE
1. Get two monitors, one of which wakes from sleep slower than the other
2. Wait for them to lock and fall asleep
3. Shake the mouse or whatever else to begin the wakeup, start typing in the password field

OBSERVED RESULT

Input focus switches to the secondary slower monitor as soon as it wakes up.

EXPECTED RESULT

Focus remains on the password field on the primary monitor that I'm typing into.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.1.10
(available in About System)
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

An alternative solution would be an option to restrict the password entry for the lock screen to a specific monitor, so that the secondary monitor does not interfere.
Comment 1 Nate Graham 2023-02-12 17:54:08 UTC
> An alternative solution would be an option to restrict the password entry for the lock screen
> to a specific monitor, so that the secondary monitor does not interfere.
Yep, see Bug 409226.