GNOME Bugzilla – Bug 662093
should warns about no numlock when entering password
Last modified: 2012-03-30 22:25:37 UTC
this report has been filed here: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/835649 "I am entering my password and it warns me that I have numlock on. On a desktop or laptop with full keyboard it would be more appropriate to warn when numlock isn't on." https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/835649/+attachment/2323761/+files/numlock.png
I had a quick look at the code here. In gnome-screensaver this warning is hard-coded rather than depending on a config key. If that issue were solved there is a further issue that a GTK Entry widget in password mode displays a warning icon with tooltip text. This can be controlled by setting the caps-lock-warning property to false but this would also disable the cap lock warning which _is_ useful.
I think we can confirm this bug. On a laptop this need to warn if num lock while on a desktop is needs to warn when num lock is off (so its opposite to each other). While caps is same for laptop and desktop, needs to warn when on. These config options should not be hard coded and it should also be possible to configure this independent from each other.
I think this shouldn't really be gnome-screensaver specific. Whether a GTK Entry widget in password mode should warn about numlock on or off should be configurable. It could be just a gsetting perhaps, but it should exist.
(In reply to comment #3) > I think this shouldn't really be gnome-screensaver specific. Whether a GTK > Entry widget in password mode should warn about numlock on or off should be > configurable. It could be just a gsetting perhaps, but it should exist. Which is apparently bug 658875...
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. See my comments in bug 658875. The best thing to do, IMO, is to drop the numlock warning from Gtk+, and from gnome-screensaver.
Created attachment 211001 [details] [review] lock: drop numlock warning It's causing all sorts of complaints.
Attachment 211001 [details] pushed as 910a31a - lock: drop numlock warning
*** Bug 673084 has been marked as a duplicate of this bug. ***
*** Bug 673124 has been marked as a duplicate of this bug. ***