Lock Screen: Add an indicator for NumLock
Affected version
OS: Ubuntu 23.04 with Orange Pi drivers System: Orange Pi 800 Keyboard Computer GNOME Shell version: All of them, but specifically tested on 44 XOrg or Wayland: Both, but specifically tested on Wayland Does the issue happen without extensions: Yes
Bug summary
GNOME Lock Screen does not indicate if the NUM Lock is on.
In the GNOME Lock Screen, CAPS Lock is correctly indicated as being on (indicator text below password box says "Caps lock is on." if CAPS Lock is on). However, there is no equivalent for NumLock. This is important on the Orange Pi 800 Keyboard Computer (and many other smaller keyboards) because the keyboard integrates the numeric keypad and the ordinary letters. This means that if the NUM Lock is on, many ordinary letter keys will emit numbers instead, but without the user being able to realize this. This means that the password will fail and the user will try again and again without realizing why. The GNOME Lock Screen does not have a feature where the password can be shown, so there is no other avenue for the user to explore the issue and they are locked out of their computer with no recourse, except that they remember the NUM Lock. For most users, the NUM Lock key is never used, so they don't consider it in their troubleshooting.
Steps to reproduce
Step one, hit the NUM Lock key, either on purpose or accidentally. Step two, lock the screen. Step three, forget that you have hit the numlock key, or be unaware of it. Step four, discover that you are unable to unlock your screen.
What happened
GNOME failed to indicate that the NUM Lock key was pressed. The fact that it does indicate that the CAPS Lock key is depressed creates a false sense of security in the user who expects GNOME to indicate the status of modifier keys and sees that it does not, so believes, falsely, that modifier keys are not the reason they cannot unlock their GNOME session.
What did you expect to happen
The GNOME Lock Screen should indicate the status of the NUM Lock key if it is on.
The GNOME Shell should have had an indication of the NUM Lock key during the Lock Screen.
Relevant logs, screenshots, screencasts etc.
Note that I consider this a bug, not a feature request, because GNOME already indicates the status of the CAPS Lock key, so it already has the feature of indicating the status of modifier keys to prevent user confusion while entering their password on the Lock Screen. The NUM Lock key indication being missing is therefore a bug, not a lack of a feature.