GNOME Bugzilla – Bug 658875
Should limit Num Lock warning to notebooks
Last modified: 2012-03-22 04:17:13 UTC
In current versions, GtkEntry's for passwords show warning if NumLock mode is on. That is normal condition for desktops which has full-sized keyboard with num block; that warning is unneeded and distracting. Could it be limited to cases when compact keyboard, such as notebook one, is present?
*** Bug 660610 has been marked as a duplicate of this bug. ***
On desktops, I would suggest to warn about numlock being off instead. It should be configurable somehow...
I don't think this is an easy problem to solve. The status of the NumLock key is hardware specific, and a lot of hardware lies about it's status. For example, on recent Thinkpads, the BIOS is set to "Thinkpad NumLock - Independent", which means the Thinkpad hardware tracks the built in keyboard numlock and the external keyboard numlock independently, so the numlock status as read by gtk+ is always wrong: once you hit NumLock, you can't get the warning indicator to go away again. Although an option could be added to Gtk+ to disable the numlock warning, I'm afraid shipping it with the warning turned on just causes too many issues with different hardware to be worthwhile and will likely cause user confusion. Honestly, I would just revert the following commit, and forget about it: http://git.gnome.org/browse/gtk+/commit/gtk/gtkentry.c?id=85e3f22c19b1322a7469f985feedf55fdff0dd6f
I've done this now