Bug 451361

Summary: SDDM - password field loses focus after selecting a session with touchscreen
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Theme - BreezeAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: nate, visual-design
Priority: NOR Keywords: usability
Version: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.25

Description Patrick Silva 2022-03-10 13:04:08 UTC
STEPS TO REPRODUCE
1.  logout
2. select a session (Plasma Wayland or Plasma X11) using a touchscreen
3. try to type your password

OBSERVED RESULT
we can not type the password because the password field loses focus after the step 2

EXPECTED RESULT
we are able to type the password after the step 2

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Comment 1 Bug Janitor Service 2022-03-11 16:41:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1554
Comment 2 Nate Graham 2022-03-11 17:08:38 UTC
Git commit 157e97578f2dc057ca9036473b76d4a912ff0cc4 by Nate Graham.
Committed on 11/03/2022 at 17:08.
Pushed by ngraham into branch 'master'.

sddm-theme: focus password field after changing session or kbd layout

We already force focus to the password field after showing or hiding the
virtual keyboard, since otherwise it's annoying and you have to manually
re-focus it. Let's do the same for the session and keyboard layout
choosers to save the user a click and some annoyance.
FIXED-IN: 5.25

M  +3    -0    sddm-theme/KeyboardButton.qml
M  +12   -0    sddm-theme/Main.qml
M  +3    -0    sddm-theme/SessionButton.qml

https://invent.kde.org/plasma/plasma-workspace/commit/157e97578f2dc057ca9036473b76d4a912ff0cc4
Comment 3 Nate Graham 2023-04-10 21:43:24 UTC
*** Bug 451959 has been marked as a duplicate of this bug. ***