After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719846 - Numlock keyboard led turns off when I press some keyboard keys
Numlock keyboard led turns off when I press some keyboard keys
Status: RESOLVED NOTGNOME
Product: gnome-settings-daemon
Classification: Core
Component: keyboard
3.10.x
Other Linux
: Normal major
: ---
Assigned To: Rui Matos
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2013-12-04 14:21 UTC by Strangiato
Modified: 2016-05-04 23:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xmodmap -pke (15.42 KB, text/x-log)
2014-01-26 13:27 UTC, Benjamin BELLEC
  Details
xmodmap -pke (11.13 KB, application/octet-stream)
2014-01-26 14:23 UTC, Strangiato
  Details
region: Make it possible to add an input source by activating its row (3.83 KB, patch)
2014-07-04 16:18 UTC, Rui Matos
rejected Details | Review

Description Strangiato 2013-12-04 14:21:08 UTC
Start Gnome
Press CTRL (om right side) or ALT GR
Numlock led turns off
Press caps lock
Numlock turns on and I have no problem until next session

kayboard settings:
brazilian portuguese
abnt2 layout

I use microsoft wired 600 USB keyboard
http://www.microsoft.com/hardware/pt-br/p/wired-keyboard-600
Comment 1 Strangiato 2013-12-16 13:46:30 UTC
Numlock led turns off when I press shift, ALT, ALT GR or CTRL keys.
Comment 2 Benjamin BELLEC 2014-01-26 12:38:33 UTC
I confirm the bug (Logitech Internet 350 Keyboard).
Fedora 19.
Comment 3 Bastien Nocera 2014-01-26 12:55:50 UTC
What's the output of "xmodmap -pke" on this machine?

It's very likely that this is this very hard to fix bug in the Xorg server which we'll need to work-around in GNOME:
https://bugzilla.gnome.org/show_bug.cgi?id=722753
Comment 4 Benjamin BELLEC 2014-01-26 13:27:33 UTC
Created attachment 267226 [details]
xmodmap -pke
Comment 5 Strangiato 2014-01-26 14:23:43 UTC
Created attachment 267228 [details]
xmodmap -pke

xmodmap -pke command on my machine.
Comment 6 Benjamin BELLEC 2014-01-27 16:11:52 UTC
Since it hits Gnome 3.8 too, hence it hits RHEL7 Beta (tested with a Microsoft Wired Keyboard 400).
Comment 7 Bastien Nocera 2014-04-11 10:21:12 UTC
(In reply to comment #0)
> abnt2 layout

How do you set the abnt2 layout exactly? Because it doesn't show up in any GNOME configuration tools.
Comment 8 Strangiato 2014-04-11 16:21:14 UTC
(In reply to comment #7)
> (In reply to comment #0)
> > abnt2 layout
> 
> How do you set the abnt2 layout exactly? Because it doesn't show up in any
> GNOME configuration tools.

on gnome control panel, select "region and language", set input sources to "Portuguese (Brazil)".
Comment 9 Rui Matos 2014-04-11 17:01:08 UTC
I was able to reproduce this now. It's not specific to a layout in particular and it happens after you switch keyboard layouts. Action sequence to trigger is:

1. $ setxkbmap us
2. enable NumLock
3. $ setxkbmap br
4. press any modifier key

At this point the numlock led turn off and the keycodes sent for those keys are indeed the original (non numlocked) ones.

But the X server still sends a modmask including numlock in key events. If you now press NumLock the led doesn't light up and you finally start getting events without numlock in the state modmask.

So it seems like an X server bug. I'll give it a look.
Comment 10 Rui Matos 2014-07-04 16:18:25 UTC
Created attachment 279921 [details] [review]
region: Make it possible to add an input source by activating its row

Selecting and pressing the Add button continues to work but this
should streamline the the input chooser dialog for mouse users by
making it possible to add by double clicking a row.
Comment 11 Rui Matos 2014-07-04 16:19:45 UTC
Comment on attachment 279921 [details] [review]
region: Make it possible to add an input source by activating its row

wrong bug, sorry
Comment 12 Christopher Beland 2015-04-30 18:06:07 UTC
Confirmed this is still happening (following the steps with setxkbmap above) with gnome-settings-daemon-3.16.1-1.fc22.x86_64 (Fedora 22 beta).
Comment 13 Benjamin BELLEC 2016-05-04 23:00:20 UTC
A fix has been submitted for testing in Fedora:

To test it:
http://koji.fedoraproject.org/koji/buildinfo?buildID=760142

To rate it:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-f2f8b12e17
Comment 14 Bastien Nocera 2016-05-04 23:06:08 UTC
From the Fedora bug at https://bugzilla.redhat.com/show_bug.cgi?id=1047151
it's fairly clear it's not a GNOME bug.