Bug 469069

Summary: [X11] Numlock does not work correctly when typing passwords
Product: [Plasma] plasmashell Reporter: Ahmed <ahmed.com>
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: normal CC: mirh, nate
Priority: NOR Keywords: regression
Version: 5.27.4   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ahmed 2023-04-27 17:40:56 UTC
SUMMARY
***
Num lock is turned on, but it has to be turned off, then turned on again to be able to press any numbers from the keypad when typing passwords for the lock screen or KDE Wallet. This issue did not exist when I was using Kubuntu 22.10, but it noticed it after updating to Kubuntu 23.04.
***


STEPS TO REPRODUCE
1. Go to lock screen.
2. Try to press any number from key pad.

OBSERVED RESULT
Numbers can only be pressed after turning numlock off, then turning it on again, despite being turned on during startup from keyboard settings.

EXPECTED RESULT
Numlock to be turned on during startup.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 23.04
KDE Plasma Version: KDE Plasma 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
The issue happens everytime the screen is locked then unlocked, or when typing password for KDE Wallet.
Comment 1 Ahmed 2023-04-28 14:29:28 UTC
When using Wayland instead of X11, I can use the keypad when typing the password to KDE Wallet without having to turn numlock off and on again, but the issue still exists with lock screen.
Comment 2 Ahmed 2023-04-29 08:14:35 UTC
To be clear, the issue with lock screen happens does not happen after logging in under Wayland. This confirms that this issue is related to X11, and not Wayland.
Comment 3 Ahmed 2023-04-29 15:43:49 UTC
I am sorry, there is a typo in my previous comment. The correction: "To be clear, the issue with lock screen does not happen after logging in under Wayland."