Bug 336368 - Lock Screen: password should get focus after switching users / new session
Summary: Lock Screen: password should get focus after switching users / new session
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Theme packages (show other bugs)
Version: master
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-18 00:42 UTC by Sebastian Kügler
Modified: 2022-05-11 07:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Kügler 2014-06-18 00:42:48 UTC
In the new lock screen, when switching between the users in the horizontal list, clicking on the current user should focus the password edit.

Reproducible: Always
Comment 1 David Edmundson 2014-06-25 16:27:03 UTC
Git commit a38ebe1241b29f82622a6b439253864daaf5603b by David Edmundson.
Committed on 25/06/2014 at 16:27.
Pushed by davidedmundson into branch 'master'.

Clicking on a user selects the password input

M  +7    -0    lookandfeel/contents/components/UserList.qml
M  +9    -20   lookandfeel/contents/components/UserSelect.qml

http://commits.kde.org/plasma-workspace/a38ebe1241b29f82622a6b439253864daaf5603b
Comment 2 Bug Janitor Service 2022-02-06 00:32:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1440
Comment 3 ratijas 2022-05-11 07:54:44 UTC
Git commit 914173a20861bca0102f12090561df489edfa00c by ivan tkachenko.
Committed on 10/05/2022 at 21:41.
Pushed by ratijas into branch 'master'.

sddm-theme: Un-break userSelected signal handling

It was lost during refactoring some time ago, but the intention was
to give focus to the next item in focus chain assuming that's either a
username or a password field.

This patch is a less flexible but also less messy and more direct way to
achieve practically the same thing. Additionally, explicit Tab focus
reason gives a loginButton a nice visual focus which one would expect
to see instead of no visual changes. It was tempting to directly call
startLogin when password is not required, but that would be surprising
when the signal itself is triggered by the Escape key.

M  +4    -0    lookandfeel/contents/components/SessionManagementScreen.qml
M  +3    -1    lookandfeel/contents/components/UserDelegate.qml
M  +9    -0    lookandfeel/contents/lockscreen/MainBlock.qml
M  +13   -0    sddm-theme/Login.qml

https://invent.kde.org/plasma/plasma-workspace/commit/914173a20861bca0102f12090561df489edfa00c