Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1315090

Summary: Numlock LED on keyboard switches off with non-US keyboard layouts
Product: [Fedora] Fedora Reporter: Seb L. <D8F55524>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: b.bellec, D8F55524, i18n-bugs, shawn.p.huang, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-13 02:48:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Seb L. 2016-03-06 14:20:26 UTC
Description of problem:
When using IBus, the numlock LED switches off (only the LED, the function remains active which is very disturbing) once any modifier key such as [shift], [ctrl], etc. is pressed. Have to press numlock key twice to restore LED *and* function.
The LED switches off again after switching to another keyboard layout once a modifier key is pressed.

Version-Release number of selected component (if applicable):
ibus-1.5.11-1.fc23.x86_64

How reproducible:
Always

Steps to Reproduce:
- alternative 1:
1. Start Fedora 23
2. Ensure that the numlock function is on ( https://bugzilla.redhat.com/show_bug.cgi?id=1315087 )
3. Login in the DM (in my case: lightdm)
4. Wait for the WM (in my case: XFCE) to finish loading
5. Press [shift]

- alternative 2:
1. Ensure numlock LED *and* function are both on (double press numlock if needed)
2. Change IBus keyboard layout
3. Press [shift]

Actual results:
Numlock LED switches off, but the numlock function stays on.

Expected results:
Numlock LED *and* function should stay on.

Additional info:
Opening this as a new bug as per requested in https://bugzilla.redhat.com/show_bug.cgi?id=115909#c44 .

Seems related to:
  https://bugzilla.redhat.com/show_bug.cgi?id=1047151
  https://bbs.archlinux.org/viewtopic.php?id=162314

Comment 1 fujiwara 2016-03-29 04:01:13 UTC
I cannot reproduce your problem when I switch 'xkb:us::eng' and 'xkb:jp::jpn' engines.

Which engines do you switch?
You can check the current IBus engine name with 'ibus engine' command.

Are you reproduce your problem with a new user account instead of the current user account?

Comment 2 Benjamin Bellec 2016-05-05 11:21:57 UTC
This is a duplicate of #1047151, which has now a fix:
http://koji.fedoraproject.org/koji/buildinfo?buildID=760142

Please rate it at:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-f2f8b12e17

Comment 3 Seb L. 2016-05-12 20:33:07 UTC
Hi, sorry for the delay, I didn't have a workstation available for testing.
I just created a blank account on a Fedora 23/lightdm/XFCE 4 workstation, activated ibus and confirm that I can fully reproduce the bug.

Example of affected engines:
  xkb:fr::fra
  kkc
  xkb:us::eng

Any swap between any of those engine immediately triggered the bug.

However, upgrading from xorg-x11-server-1.18.3-1.fc23 to xorg-x11-server-1.18.3-2.fc23 *did* solve the issue.

=> bug could be closed, solved with http://koji.fedoraproject.org/koji/buildinfo?buildID=760142

Comment 4 fujiwara 2016-05-13 02:48:38 UTC
Closing this bug with the submitter's comment.

*** This bug has been marked as a duplicate of bug 1047151 ***