GNOME Bugzilla – Bug 623239
also show num-lock warning
Last modified: 2012-10-15 22:12:28 UTC
We have a nice warning icon when caps lock mode is enabled when using an entry with invisible characters. It would help helpful to have something similar for NumLock. This is particularly useful on some netbooks/small-keyboards where the enable numlock option is easily triggered and there isn't an obvious modal indicator.
Created attachment 165057 [details] [review] [gdk] Add gdk_keymap_get_num_lock_state
Created attachment 165058 [details] [review] Show lock warning for num lock as well as caps lock
Created attachment 165059 [details] [review] [gdk] Add gdk_keymap_get_num_lock_state
Review of attachment 165059 [details] [review]: Looks good.
I should point out that I have no way of testing the win32, quartz, etc backends...
Review of attachment 165058 [details] [review]: Looks good. I guess we should maybe ask Jimmac about nicer icons for these
I have f17 on a t410, I use gtk+ 3.4 branch, and it doesn't seem to set the numlock state when I toggle it. Apparently, update_lock_state() doesn't get called when I press num lock. I wonder if I should open a different bug or I am missing something. (fyi, I would like to use that function from spice-gtk, to sync modifiers, though I would also need a get_scroll_lock())