Infinite "Enter" Key Events after Unlocking from GDM Lock Screen
Description of the problem: When unlocking my system from the GDM lock screen, the "Enter" key event appears to be triggered repeatedly during the transition from the lock screen to the GNOME desktop environment. This behavior simulates a stuck "Enter" key and stops only when another key is pressed. The issue is consistently reproducible when the last character of the password and the "Enter" key are pressed rapidly together. If a brief pause is introduced before pressing "Enter," the issue does not occur.
Affected Version:
- GDM version: 45.0.1
- GNOME Shell version: 45.4
- Session type: Wayland (confirmed with
loginctl
)
Steps to Reproduce:
- Lock the GNOME session using GDM.
- Unlock the session by typing the password and pressing the "Enter" key quickly in succession.
Actual Results: Multiple "Enter" key events are fired continuously until interrupted by user interaction.
Expected Results: The system unlocks normally with no extra "Enter" key events being generated.
Frequency: Every time the above reproduction steps are followed.
Additional Information:
- The issue was replicated with six different keyboards, including brand-new ones, eliminating the possibility of hardware defects.
-
evtest
andlibinput debug-events
do not show any abnormalities under standard usage. - No relevant errors or warnings in
journalctl
that correlate with the issue. - System and packages are fully updated.
Previous Troubleshooting Steps:
- Checked for misconfigurations in GDM and GNOME settings.
- Verified keyboard settings and adjusted auto-repeat rates to no effect.
Request: I am seeking guidance on further debugging steps, potential workarounds, and any known related issues. Additional insights into the handling of input device events in GDM and GNOME Shell or similar experiences from the community would be greatly appreciated.