When pressing the Delete key once prints the actual delete as an Unicode character (“”, U+007F), pressing Delete on more time the Arabic Letter Hamza (“ء”, U+0621).
To my knowledge, this only happens in the following conditions: pt_BR locale, libx11 version 1.8.10, GNOME, and GTK4 applications. This was reproduced by different users in Arch Linux, Fedora and openSUSE Tumbleweed.
libx11 downgraded to 1.8.9 on GNOME cease this bug. GTK3 apps with libx11 1.8.10 doesn’t have this. Hyprland (as was reported to me) didn’t reproduced with all other conditions.
Here are the tests I did locally in my Arch Linux:
I tried the following:
- Downgrade libx11: https://archive.archlinux.org/packages/ … kg.tar.zst
- Create a new user (e.g. sudo useradd -m -g 1000 testuser)
- Switch to the new user, open Console (or other GTK4 app) and it will works fine!
- Go back and update libx11 back to version 1.8.10
- Switch to the new user, nothing changed (still works)
- Go back remove the user, clean its home folder
- Redo steps 2 and 3, but now the Delete key bug happens
There is discussion going on in:
- Arch Linux forums: Delete Key Bug: Inputs U+007F and U+0621 in pt_BR Locale / Newbie Corner / Arch Linux Forums
- Issue in libx11: Delete key outputs U+007F and U+0621 instead of deleting in PT-BR locale after !263 in certain GNOME apps like Nautilus (#220) · Issues · xorg / lib / libX11 · GitLab
Any help is appreciated.