Bug 430209

Summary: password fields of SDDM and screen locker lose focus when we open the virtual keyboard
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Theme - BreezeAssignee: visual-design
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs
Priority: HI Keywords: usability
Version: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.21
Sentry Crash Report:

Description Patrick Silva 2020-12-10 10:26:33 UTC
STEPS TO REPRODUCE
1. in login screen (SDDM), use your touchscreen to tap "Virtual Keyboard"
in the lower left corner
2. try to type your password with the virtual keyboard: nothing appears
in the password field because it is not focused
3. start Wayland session
4. lock your screen
5. try to type your password with the virtual keyboard: again nothing appears
in the password field because it is not focused

EXPECTED RESULT
password fields of SDDM and screen locker should not lose focus when we open
the virtual keyboard

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2020-12-10 17:23:56 UTC
Can confirm. This makes the virtual keyboard unusable until you manually focus it again by tapping.
Comment 2 Bug Janitor Service 2021-01-08 00:23:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/559
Comment 3 Nate Graham 2021-01-15 16:37:43 UTC
Git commit 1a60087b87d11f150c233dfeca685ee565ee03e7 by Nate Graham.
Committed on 15/01/2021 at 16:37.
Pushed by ngraham into branch 'master'.

[lock/login screens] Focus password field after virtual keyboard appears

Without this, the virtual keyboard appears and takes focus, which
doesn't make sense:the password field needs to retain focus or else
the keystrokes you type using the virtual keyboard get eaten.
FIXED-IN: 5.21

M  +3    -0    lookandfeel/contents/lockscreen/LockScreenUi.qml
M  +3    -0    sddm-theme/Main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/1a60087b87d11f150c233dfeca685ee565ee03e7