Bug 1059175

Summary: Keypad inverted
Product: [Fedora] Fedora Reporter: Fiable.biz <mongolie2006-fedora>
Component: xkeyboard-configAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: extras-orphan, i18n-bugs, mongolie2006-fedora, notting, peter.hutterer
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: 2014-01-30 12:47:18 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:
Attachments:
Description Flags
xkbcomp -xkb $DISPLAY - none

Description Fiable.biz 2014-01-29 11:04:15 UTC
Description of problem:
Once logged in, the keypad is inverted: the "123" row is at the top, while the "789" row is at the bottom, whether in English (US), French, Mongolian or Greek layouts are used. This is also the case when unlocking the screen. But, when logging in, the keypad is OK. The problem appears for at least 8 users.

Version-Release number of selected component (if applicable):


How reproducible:
Always.

Steps to Reproduce:
1. Log in.
2. Open a terminal, or a web form, or gedit.
3.Type digits.

Actual results:
When typing the "1" key, "7" appears. When typing "2", "8" appears etc.

Expected results:
The universal mapping should be used:
789
456
123
0.

Additional info:

Comment 1 Fiable.biz 2014-01-29 11:06:33 UTC
Erratum (direct consequence of the bug): above, please read "The problem appears for at least 2 users." (The users we have checked.)

Comment 2 Peter Hutterer 2014-01-30 01:03:36 UTC
please attach the output of "xkbcomp -xkb $DISPLAY -"

Comment 3 Fiable.biz 2014-01-30 08:15:53 UTC
Created attachment 857373 [details]
xkbcomp -xkb $DISPLAY -

Comment 4 Peter Hutterer 2014-01-30 10:28:46 UTC
xkb_symbols "pc+fr+us:2+inet(evdev)+group(rwin_toggle)+keypad(ops)+keypad(hex)+keypad(atm)"


something is setting the "keypad(atm)" option which is the culprit. This seems like a desktop environment or possibly xorg.conf misconfiguration.

Given that it also seems to set "keypad(ops)" which looks like a typo for "keypad(oss)" I'd guess the latter.

Comment 5 Fiable.biz 2014-01-30 12:47:18 UTC
Thank you very much indeed. It's not a bug, I've found my mistake: since I couldn't find any way to define a shortcut to switch keyboard layout (!), I installed Gnome tweak tool, and defined a key to do this in "Switching to another layout". Just above is "Layout of numeric keypad", and I had changed this too by mistake to "ATM/phone style". Now it's OK. I've very sorry to have wasted your time.

By the way, switching layout is an extremely frequent task in countries using a non-Latin script (small countries like China or Russia, for instance) so a key to do that is very needed, and it should be much easier than it is to get it work. In KDE, one just right-clicks on the language symbol, and chooses "configure"→ "layouts"→"main shortcut".

Comment 6 Peter Hutterer 2014-01-30 23:51:11 UTC
group(rwin_toggle)

in your layout means you can toggle groups with the right windows key. but this is something you should bring up with the GNOME guys upstream, there's little we can do in the xorg stack here. this is more about GUIs than the actual functionality