Plasma Login Manager / Lock Screen: Pressing Enter with empty password triggers failed auth animation

Component: plasmalogin / KScreenLocker / QML Login Interface

OS: CachyOS (Arch Linux-based)

Desktop Environment: KDE Plasma (Wayland)

Summary

Currently, on the Plasma Login Manager / Lock Screen interface, pressing the Enter key while the password field is completely empty immediately submits the empty string ("") to the PAM authentication stack. This causes PAM to return an authentication failure, which triggers the “Login Failed” state (e.g., the shake animation / error message).

Expected Behavior

Pressing Enter on an empty password input field should be ignored silently. The UI should not attempt to authenticate against PAM unless password.length > 0 (or at least 1 character is present), preventing unnecessary failed authentication attempts and jarring UI error animations when accidentally hitting Enter.

I think that is fine. It is a standard and expected Linux behaviour and not specific to PLM. If you’re on the command line and press enter before inputting a password, the same thing happens. Definitely not a bug.