Bug 447817

Summary: Text field not automatically focused on SDDM "Others..." page
Product: [Plasma] plasmashell Reporter: BingMyBong <bingmybong>
Component: Theme - BreezeAssignee: visual-design
Status: RESOLVED FIXED    
Severity: minor CC: kde, nate, plasma-bugs
Priority: NOR Keywords: usability
Version First Reported In: 5.23.4   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description BingMyBong 2022-01-02 10:16:35 UTC
Note: not sure if this is the correct place for this bug - can;t find anywhere to put it

STEPS TO REPRODUCE
1.  Select "Others.."  on login screen
2. User and Password entry boxes displayed

OBSERVED RESULT
3. Cursor not placed in either entry box 

EXPECTED RESULT
4. Cursor in User entry box

SOFTWARE/OS VERSIONS
opensuse:tumbleweed:20211228
Qt: 5.15.2 KDE Frameworks: 5.89.0 - KDE Plasma:  5.23.4 - kwin 5.23.4
kmail2 5.19.0 (21.12.0) - akonadiserver 5.19.0 (21.12.0) - Kernel:  5.15.8-1-default  - xf86-video-nouveau:  1.0.17

ADDITIONAL INFORMATION
Sometimes if you cancel the "Others.." and go back to the list of users, the cursor is also missing from password entry box
Comment 1 Bug Janitor Service 2022-01-21 21:40:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1392
Comment 2 Nate Graham 2022-01-23 22:49:10 UTC
Git commit 10b31ead111ab623879e7796f1434c15097b1f29 by Nate Graham, on behalf of Fabian Vogt.
Committed on 23/01/2022 at 22:48.
Pushed by ngraham into branch 'master'.

Make SessionManagementScreen a FocusScope

SessionManagementScreen needs to be a FocusScope, so that when it gets focused
directly (through the StackView), it directs it to the proper control inside
instead of stealing it from them.

This fixes initial focus of the controls in the SDDM theme.

M  +1    -1    lookandfeel/contents/components/SessionManagementScreen.qml

https://invent.kde.org/plasma/plasma-workspace/commit/10b31ead111ab623879e7796f1434c15097b1f29
Comment 3 Nate Graham 2022-01-23 22:49:39 UTC
Git commit 02caec42f6f754cfbb317eb834e3e51dcd956b5f by Nate Graham, on behalf of Fabian Vogt.
Committed on 23/01/2022 at 22:49.
Pushed by ngraham into branch 'Plasma/5.24'.

Make SessionManagementScreen a FocusScope

SessionManagementScreen needs to be a FocusScope, so that when it gets focused
directly (through the StackView), it directs it to the proper control inside
instead of stealing it from them.

This fixes initial focus of the controls in the SDDM theme.


(cherry picked from commit 10b31ead111ab623879e7796f1434c15097b1f29)

M  +1    -1    lookandfeel/contents/components/SessionManagementScreen.qml

https://invent.kde.org/plasma/plasma-workspace/commit/02caec42f6f754cfbb317eb834e3e51dcd956b5f