flashback doesn't respect keyboard layout order, causing games to not accept keyboard input
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Flashback |
Fix Released
|
Low
|
|||
gnome-flashback (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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:/
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.
summary: |
- flashback doesn't respect layout order, causing games to not accept - keyboard input + flashback doesn't respect keyboard layout order, causing games to not + accept keyboard input |
affects: | ubuntu-gnome-flashback → gnome-flashback (Ubuntu) |
Changed in gnome-flashback: | |
importance: | Unknown → Low |
status: | Unknown → Fix Released |
This bug was fixed in the package gnome-flashback - 3.28.0-1ubuntu2
---------------
gnome-flashback (3.28.0-1ubuntu2) cosmic; urgency=medium
* Backport upstream patch to make GNOME Flashback respect keyboard groups- in-order. diff; LP: #1790170).
layout order from settings (assign-
-- Dmitry Shachnev <email address hidden> Fri, 31 Aug 2018 19:08:30 +0300