https://bugzilla.redhat.com/show_bug.cgi?id=1129452
--- Comment #1 from Mike FABIAN <mfabian(a)redhat.com> ---
That doesn’t show the “layout of rusle” but the “keyboard layout used to type
using the rusle input method” Which is the US keyboard.
The rusle.txt table contains:
### The Keyboard Layout used by this table.
### Set to "default" to accept any kind of layout
KEYBOARD_LAYOUT = us
Which mean that the keyboard layout is switched automatically to "us"
as soon as you switch to rusle.
That is necessary, because the rusle depends on the us layout.
For example, it contains:
y н 0
z я 0
The intention is probably to get a н if you type the key to the right of the
't' key, i.e. the 6th key in the top row of a qwerty key-board.
If a German keyboard were used, that key would have a 'z' printed on it, i.e.
by typing the 6th key in the top row you would get a я, not a н.
rusle emulates a Russian legacy layout if the real layout is actually us.
The graphical display of the keyboard layout shows the real layout though,
not the result of the input method.
Most input methods do are not just emulations of keyboard layouts.
Compare for example the Russian translit.txt:
https://github.com/moebiuscurve/ibus-table-others/blob/master/tables/tran...
It contains stuff like:
Shh Щ 1000
I.e. it converts Russian written in Latin transliteration
into Russian written in Cyrillic.
This can be done with any keyboard which can type all necessary
Latin characters.
Therefore, translit.txt does not enforce us layout:
### Layout
### This table can be used with any layout capable of typing ASCII.
### Therefore, we should not require a special layout like “us”.
LAYOUT = default
I.e. when switching to translit, the layout which is currently set is
just used and not changed. Most input methods are like that, only
keyboard emulations like rusle and some Chinese input methods like
cangjie or wubi require the us layout and switch to the us layout
automatically when they are selected.
The graphical keyboard display cannot know what kind of funny stuff
the input method does, in most cases it is more than just replacing
keys. So it can only display the underlying keyboard layout used to
type the *input* for the input method, it will not show the *output*
of the input method, this will be more than just another layout in
most cases.
By the way, you can toggle between table mode and direct input mode
when using rusle with the topmost menu of rusle in the Gnome3 panel.
Or with using the Left Shift key to toggle.
When you toggle to "Direct Input", the rusle translation is not done
and you get what the underlying us keyboard does.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=moKbZ2JxlF&a=cc_unsubscribe