Bug 454707 - Passwordless screen unlock page doesn't press the button on enter/return by default
Summary: Passwordless screen unlock page doesn't press the button on enter/return by d...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (show other bugs)
Version: 5.24.90
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Nate Graham
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-06-01 13:28 UTC by Nate Graham
Modified: 2022-06-01 22:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2022-06-01 13:28:15 UTC
When the passwordless unlock screen with an "Unlock" button is shown, you can't press the button by immediately hitting the Enter or Return key. You need to first focus it by hitting the Tab key twice, and only then can you press it using the keyboard.
Comment 1 Bug Janitor Service 2022-06-01 15:22:04 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1794
Comment 2 Nate Graham 2022-06-01 22:22:01 UTC
Git commit 370976d71582c4d057147dd6f123acc4bcf5d010 by Nate Graham.
Committed on 01/06/2022 at 22:21.
Pushed by ngraham into branch 'master'.

NoPaswordUnlock screen: focus it by default

Otherwise the user needs to manually tab over to the Unlock button
first, which is annoying. And they may not even think to do it at all.

The `forceActiveFocus()` is because the stack view does not manually pass focus
to the item you push onto it; this needs to be handled manually.

M  +4    -0    lookandfeel/contents/lockscreen/NoPasswordUnlock.qml

https://invent.kde.org/plasma/plasma-workspace/commit/370976d71582c4d057147dd6f123acc4bcf5d010
Comment 3 Nate Graham 2022-06-01 22:22:50 UTC
Git commit 5abd36ffa6ef093501cea6978d1c34ddbcb9256f by Nate Graham.
Committed on 01/06/2022 at 22:22.
Pushed by ngraham into branch 'Plasma/5.25'.

NoPaswordUnlock screen: focus it by default

Otherwise the user needs to manually tab over to the Unlock button
first, which is annoying. And they may not even think to do it at all.

The `forceActiveFocus()` is because the stack view does not manually pass focus
to the item you push onto it; this needs to be handled manually.


(cherry picked from commit 370976d71582c4d057147dd6f123acc4bcf5d010)

M  +4    -0    lookandfeel/contents/lockscreen/NoPasswordUnlock.qml

https://invent.kde.org/plasma/plasma-workspace/commit/5abd36ffa6ef093501cea6978d1c34ddbcb9256f