Package: xwayland
Version: 1.20.7-3
Severity: important

--- Please enter the report below this line. ---

Programs running under XWayland doesn't honor the keyboard layout configured under Gnome Shell.

I have the Spanish keyboard layout configured in my system, with an Spanish keyboard. Under X11 everything works as expected: pressing the 'ñ' key shows an 'ñ' letter, and all the symbols are in the right key.

Logging in Wayland, everything *seems* to work fine, and in fact, native Wayland applications (like Gedit) work fine and show the symbols and Spanish characters as expected. But applications that use XWayland don't, interpreting the keyboard as an American one. Even more: forcing GTK3 applications to use XWayland makes them fail too, like doing from a terminal:

    GDK_BACKEND=x11 gedit

In this case, gedit also interprets incorrectly the keyboard layout.

HOW TO REPRODUCE:

- set your keyboard layout to Spanish

- logging in Wayland

- launch Firefox

- try to type a symbol

- compare the symbol typed with the one that is inserted when pressing the same key in Gedit


--- System information. ---
Architecture:
Kernel: Linux 5.4.0-4-amd64

Debian Release: bullseye/sid
500 unstable-debug debug.mirrors.debian.org
500 unstable ftp.debian.org
500 suldr www.bchemnet.com
500 stable repo.skype.com
500 stable linux.teamviewer.com
500 stable dl.google.com

--- Package information. ---
Depends (Version) | Installed
======================================-+-================
xserver-common (>= 2:1.20.7-3) | 2:1.20.7-3
libaudit1 (>= 1:2.2.1) | 1:2.8.5-2+b1
libbsd0 (>= 0.7.0) |
libc6 (>= 2.29) |
libdrm2 (>= 2.4.75) |
libepoxy0 (>= 1.0) |
libgbm1 (>= 17.1.0~rc2) |
libgcrypt20 (>= 1.8.0) |
libgl1 |
libpixman-1-0 (>= 0.30.0) |
libselinux1 (>= 2.0.82) |
libsystemd0 |
libunwind8 |
libwayland-client0 (>= 1.9.91) |
libxau6 |
libxdmcp6 |
libxfont2 (>= 1:2.0.1) |
libxshmfence1 |


Package's Recommends field is empty.

Package's Suggests field is empty.

Reply via email to