cosmic-greeter icon indicating copy to clipboard operation
cosmic-greeter copied to clipboard

[bug] Locking the screen does not focus the password entry field

Open alphabitserial opened this issue 1 year ago • 4 comments
trafficstars

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.

alphabitserial avatar Sep 27 '24 19:09 alphabitserial

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.

muzzwood avatar Oct 03 '24 23:10 muzzwood

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

  1. Super + Esc to show the greeter.
  2. Click on the password field if not focused.
  3. Click Tab and see the focus disappear.

The focus should go to the buttons and back to the password field, there's something else capturing the focus.

edfloreshz avatar Oct 18 '24 16:10 edfloreshz

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.

WebShapedBiz avatar Nov 09 '24 08:11 WebShapedBiz

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?

canadaduane avatar Dec 01 '24 21:12 canadaduane