Switching to certain non-latin keyboard layouts disables (at least) the Insert key on GNOME 3.32 & Xorg
Steps to reproduce:
- Edit the GDM configuration (usually /etc/.../gdm/custom.conf) to add the
WaylandEnable=false
directive. - (Re)Start GDM and logon to a user account.
- Start
xev
from a terminal - Confirm that the
Insert
key works - In the "Region & Language" settings section, add a non-latin keyboard layout in addition to "us". Tested: "az" (Azerbaijan/Cyrillic), "el" (Greek)
- Switch to the newly added layout; it does not matter if the switch happens via shortcut or the panel drop-down
- Test
Insert
; it will be broken - Switch back to the US layout
- Test
Insert
again; it will still be broken.
xev
output when broken:
FocusOut event, serial 37, synthetic NO, window 0x4400001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 37, synthetic NO, window 0x4400001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
xkbmap
and xmodmap
show no differences before and after the layout switch.
Dumping all known grabs to the Xorg log shows that after the layout switch gnome-shell
is holding onto the Insert
key, along with several other grabs that were not there before:
...
grab 0x4040593c (xi2), type 'KeyPress' on window 0x1f7
detail 118 (mask 0), modifiersDetail 15 (mask 0)
device 'Virtual core keyboard' (3), modifierDevice 'Virtual core keyboard' (3)
xi2 event mask 0xc 0 0 0
owner-events false, kb 0 ptr 1, confine 0x0, cursor 0x0
...
Affected version: GNOME 3.32
Affected test platforms:
- Mageia 7 Beta
- Fedora 30 (Nightly release)
Known good versions: GNOME 3.30
Known good platforms:
- Mageia 7 Beta (before the upgrade to GNOME 3.32)
- Fedora 29 LiveCD
Please let me know if I can provide more information.
Edited by Theodoros Kalamatianos