glfw3 based applications failed to handle keys if app is launched under non English keyboard layout

Bug #1908191 reported by Krylov Yaroslav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glfw3 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Starting from Ubuntu 20.4 (maybe a bit before, I used 18.4 and all is fine there) glfw-based applications started to mostly ignore keyboard input if application started with non-English layout. And switching keyboard layout back to En after app is started doesn't work. Namely, Ru keyboard layout behaves so, according to https://github.com/glfw/glfw/pull/1598 also Arabic.
This was fixed in commit d9faf8d4154651816a0a56dea25b9613c9f55180 (X11: Fix function keys mapped to GLFW_KEY_UNKNOWN) but it is not in latest 3.3.2 release. And according to glfw release plan, the new release won't be prepared for months.
Is it possible to apply this bugfix patch in the current "libglfw3/focal,now 3.3.2-1" package? Because the problem is very annoying (need to restart the affected application every single time.

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
apt-cache policy libglfw3
libglfw3:
  Installed: 3.3.2-1
  Candidate: 3.3.2-1
  Version table:
 *** 3.3.2-1 500
        500 http://ru.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.