elementary / greeter

Login and Lock Screen greeter for elementary OS and Pantheon, using LightDM
GNU General Public License v3.0
151 stars 39 forks source link

Autofocus Password Field #495

Open mcnaveen opened 3 years ago

mcnaveen commented 3 years ago

Problem

Currently if the System is locked. The Password field isn't on autofocus. Means the user has to click on it to gain the focus.

Proposal

If there is way to autofocus. One can easily start typing the password instantly.

But one more problem here is: It'll increase incorrect password input. So If possible we can have the option to turn on/off autofocus of Password field from system settings

etkaar commented 3 years ago

When I use the shortcut ⌘+L to get into the login screen, then the password input field has autofocus for me.

Could you please explain when exactly there is no autofocus for you?

mcclurgm commented 3 years ago

In my experience, it looks like the avatar is focused. When I click on the desktop to focus the login field (like I did when we were having other focus issues a while back), my avatar (I just have a basic initials default Hdy.Avatar) turns a darker color. So that says to me that the avatar is focused. It does seem a little weird though that the password field is highlighted and has a blinking cursor, like it also thinks it's focused.

Here's a before and after (shows the password field not highlighted for some reason, but it is highlighted most of the time for me): Bildschirmfoto von 2021-02-26 12-53-55 Bildschirmfoto von 2021-02-26 12-54-02

danirabbit commented 3 years ago

The avatar doesn't have focus styles, but it does have backdrop styles. So, this means that the whole "window" here which draws the clock and the user cards etc does not have focus. That may mean that another window like the panel has focus instead