the-cavalry / light-locker

A simple session-locker for lightdm
GNU General Public License v2.0
221 stars 22 forks source link

Don't submit form when pressing enter if the password field is blank #157

Open djmattyg007 opened 3 years ago

djmattyg007 commented 3 years ago

I often press the enter key to make the lock screen password form actually show up. Unfortunately it appears the form is already active in the background, and when doing so I've just submitted the form in a way it will never complete successfully. This means I have to wait a few seconds before I can start typing.

tuxayo commented 3 years ago

Maybe I don't understand but, what about accounts that have no password?

djmattyg007 commented 3 years ago

If an account has no password, why would they bother running a screen locker?

tuxayo commented 3 years ago

Because that's might be the default on many distros and it's unlikely that there is a check on the password existence to not enable the screen locker.