Bug 107553

Summary: Eastern Arabic numerals on the numpad in Russian layout
Product: xkeyboard-config Reporter: VF <ramessesbox>
Component: GeneralAssignee: xkb
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: ramessesbox
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description VF 2018-08-13 00:00:41 UTC
In my /etc/X11/xorg.conf.d/00-keyboard.conf, I have the following config part:

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us,ara,tr,ru"
        Option "XkbModel" "pc104"
        Option "XkbVariant" ",digits,,"
        Option "XkbOptions" "compose:ralt,grp:menu_toggle"
EndSection

The so-called "horizontal" numeric pad works excellent:
- If I switch to English layout, it inputs Hindu–Arabic numerals (1, 2, ..., 7, ...).
- If I switch to Arabic, it inputs Eastern Arabic numerals ( https://en.wikipedia.org/wiki/Eastern_Arabic_numerals ).
- If I switch to Turkish, it inputs Hindu–Arabic numerals.
- If I switch to Russian, it inputs Hindu–Arabic numerals.

But numpad keys seems to provide buggy input:
- English layout: Hindu–Arabic (good).
- Arabic layout: Eastern Arabic (good).
- Turkish layout: Hindu–Arabic (good).
- Russian layout: Eastern Arabic (it's a bug).

Expected behavior: in Russian layout, numpad numbers should provide Hindu–Arabic numbers.
Actual behavior: in Russian layout, numpad numbers provide Eastern Arabic numbers.
My "setxkbmap -print" is listed below:

xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+us+ara(digits):2+tr:3+ru:4+inet(evdev)+group(menu_toggle)+compose(ralt)"	};
	xkb_geometry  { include "pc(pc104)"	};
};
Comment 1 VF 2018-08-13 00:18:38 UTC
My /etc/locale.gen:

en_US.UTF-8 UTF-8
ar_SA.UTF-8 UTF-8
tr_TR.UTF-8 UTF-8
ru_RU.UTF-8 UTF-8

My /etc/locale.conf:

LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_COLLATE=C
Comment 2 GitLab Migration User 2018-12-28 00:36:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/39.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.