You have been subscribed to a public bug:

When setting multiple Input Sources in GNOME's Region & Language
settings, the top entry should be the default one.

If I have "English (US)" as a first item, and "Hebrew" second, I would
expect English to be the default.

However, gnome-flashback didn't respect that order, and, in the above
example, Hebrew is set to the default.

This was fixed upstream, but was not released yet.
https://gitlab.gnome.org/GNOME/gnome-flashback/commit/6ac373a990aa6280f85e6c891cf58a53cc9bc93b

It should nonetheless be fixed in Ubuntu 18.04 and 18.10.

[Impact]

 * This mostly affects games. In Wine, when it tries to figure out the
keyboard layout, it encounters an unexpected Hebrew layout, fails to
identify it, and matches it with a US English keyboard. This means that
only some keys work (if at all). I know of one Java based game that runs
natively on Linux and is also affected.

 * I have been dealing with this bug for a while, and always thought the
problem was in the games that failed to work correctly. This probably
affects other users, even though gnome-flashback isn't used by many.

[Test Case]

All of the games I encountered that are affected are commercial, so I won't 
mention them here.
However, the issue and fix can be verified by following these steps:

* Start a Gnome Flashback user session.
* Go to System Settings > Region & Language.
* In "Input Sources" add "Hebrew": press "+", press the "..." at the bottom of 
the list, type "Hebrew" to filter the list, and then choose "Other" and 
"Hebrew". Click "Add.
* Make sure Hebrew is second on the list.

In the command line, type "setxkbmap -query".

Before the fix, the "layout" section will be "il,us,us". (Or perhaps
"il,us")

After the fix, the layout section will be "us,il,us" (or perhaps
"us,il").

[Regression Potential]

 * I do not see any regression issues. I am using the fix on my system
and all affected games are working fine, including regular desktop use.

** Affects: gnome-flashback
     Importance: Unknown
         Status: Unknown

** Affects: gnome-flashback (Ubuntu)
     Importance: Undecided
         Status: New

-- 
flashback doesn't respect keyboard layout order, causing games to not accept 
keyboard input
https://bugs.launchpad.net/bugs/1790170
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to