cosmic-greeter
cosmic-greeter copied to clipboard
[bug] Locking the screen does not focus the password entry field
After logging in and locking the screen, I must click the password entry first before entering the password. I expect it to be focused by default. In most cases, when I come back to a locked screen, the first thing I want to do is enter my password.
It sounds like my issue is related to this: If I close my laptop, when I open it and it resumes from sleep I'm shown the login screen with the password field that looks like it's focused (it even has the typing cursor flashing in the field) but I can't type without clicking inside the password field first.
I have noticed however, that you can click Tab you can focus either the buttons, the password field or nothing at all, I believe that the latter is capturing the focus and that's what causes the password field to be unfocused.
Steps to reproduce
Super + Escto show the greeter.- Click on the password field if not focused.
- Click
Taband see the focus disappear.
The focus should go to the buttons and back to the password field, there's something else capturing the focus.
I have the same experience as @muzzwood, with the latest updates as of the day I'm writing this - the cursor is blinking but the field is not focused.
I have two screens and when my laptop woke today, I noticed something new: it doesn't matter where I click on the screen with the mouse, but as soon as I do, it brings the keyboard focus to the greeter.
Speculation: when waking, perhaps cosmic-comp doesn't restore focus to one (any) of the displays?