You are not logged in.

#1 2025-09-27 20:00:49

lucaswerkmeister
Member
Registered: 2025-09-27
Posts: 7
Website

[SOLVED] neo2 keyboard layout broken in KeePassXC&Emacs after GNOME 49

After installing a set of package upgrades including (but not limited to) GNOME 49 (full list here), the Neo keyboard layout isn’t properly working anymore in KeePassXC and Emacs (graphical). The layer 4 arrow keys aren’t recognized and just type the corresponding layer 1 letter instead; the shift key has no apparent effect (input stays lowercase); toggling Neo’s caps lock (both shift keys) makes no difference; and the “caps lock is enabled!” warning in KeePassXC seems totally divorced from the both the caps lock state as seen by the rest of the OS (and displayed on the keyboard indicator light) and the caps lock state as seen by KeePassXC’s own text input. Sometimes the text input will see uppercase keys rather than lowercase, and sometimes the caps lock warning will be shown, but the two aren’t in sync with each other (or the keyboard indicator light), and I haven’t been able to figure out any pattern behind this yet.

Does anyone have suggestions for which upgraded package might be responsible, and how I could try downgrading it again to see if it makes a difference? (I assume it must be some library shared by KeePassXC, Emacs, and who knows which other graphical applications, but I don’t know which one. Maybe glib2?)

All other applications I’ve tried so far work fine (including Firefox, Thunderbird, GNOME Terminal, Telegram, Signal, GNOME Files, Kdenlive).

Last edited by lucaswerkmeister (2025-10-02 22:33:36)

Offline

#2 2025-09-28 11:17:20

lucaswerkmeister
Member
Registered: 2025-09-27
Posts: 7
Website

Re: [SOLVED] neo2 keyboard layout broken in KeePassXC&Emacs after GNOME 49

Slightly cursed command line to figure out the packages that are both mapped by KeePassXC and were upgraded in that list:

awk '{print $1}' /var/tmp/pacman-Syu-2025-09-27-gnome-49 | grep / | cut -d/ -f2 | sort > upgraded
sudo cat /proc/$(pidof keepassxc)/maps | awk '{print $6}' | sort | uniq | grep /usr/lib/ | pacman -Qo - | awk '{print $5}' | sort | uniq > keepassxc-used
comm -12 upgraded keepassxc-used

The packages are:

at-spi2-core
expat
gdk-pixbuf2
glib2
glycin
gvfs
harfbuzz
libnghttp3
pango
systemd-libs
tinysparql
util-linux-libs

Unfortunately, that hasn’t helped so far. I tried downgrading all of them manually – except libnghttp3 and util-linux-libs, where the old version wasn’t in my pacman cache anymore – and it didn’t seem to make a difference.

aurman -U at-spi2-core-2.56.4-1-x86_64.pkg.tar.zst expat-2.7.2-1-x86_64.pkg.tar.zst gdk-pixbuf2-2.42.12-2-x86_64.pkg.tar.zst glib2-2.84.4-2-x86_64.pkg.tar.zst glycin-1.2.3-1-x86_64.pkg.tar.zst gvfs-1.57.2-4-x86_64.pkg.tar.zst harfbuzz-11.5.1-1-x86_64.pkg.tar.zst pango-1\:1.56.4-2-x86_64.pkg.tar.zst systemd-libs-258-2-x86_64.pkg.tar.zst tinysparql-3.9.2-2-x86_64.pkg.tar.zst gvfs-afc-1.57.2-4-x86_64.pkg.tar.zst gvfs-goa-1.57.2-4-x86_64.pkg.tar.zst gvfs-gphoto2-1.57.2-4-x86_64.pkg.tar.zst gvfs-mtp-1.57.2-4-x86_64.pkg.tar.zst gvfs-nfs-1.57.2-4-x86_64.pkg.tar.zst gvfs-smb-1.57.2-4-x86_64.pkg.tar.zst lib32-expat-2.7.2-1-x86_64.pkg.tar.zst gvfs-google-1.57.2-4-x86_64.pkg.tar.zst

I’ll try it again, with a reboot in between, just in case the bug requires a GNOME session restart or something.

Offline

#3 2025-09-28 11:51:55

lucaswerkmeister
Member
Registered: 2025-09-27
Posts: 7
Website

Re: [SOLVED] neo2 keyboard layout broken in KeePassXC&Emacs after GNOME 49

Okay, downgrading those packages results in an unbootable system, which shouldn’t be too surprising. Specifically, I had to kick out the downgrades of glycin (gnome-shell needs libglycin-2.so.0) and glib2 (compare this issue).

The rest of the downgrades still gave me a working system:

aurman -U at-spi2-core-2.56.4-1-x86_64.pkg.tar.zst expat-2.7.2-1-x86_64.pkg.tar.zst gdk-pixbuf2-2.42.12-2-x86_64.pkg.tar.zst gvfs-1.57.2-4-x86_64.pkg.tar.zst harfbuzz-11.5.1-1-x86_64.pkg.tar.zst pango-1\:1.56.4-2-x86_64.pkg.tar.zst systemd-libs-258-2-x86_64.pkg.tar.zst tinysparql-3.9.2-2-x86_64.pkg.tar.zst gvfs-afc-1.57.2-4-x86_64.pkg.tar.zst gvfs-goa-1.57.2-4-x86_64.pkg.tar.zst gvfs-gphoto2-1.57.2-4-x86_64.pkg.tar.zst gvfs-mtp-1.57.2-4-x86_64.pkg.tar.zst gvfs-nfs-1.57.2-4-x86_64.pkg.tar.zst gvfs-smb-1.57.2-4-x86_64.pkg.tar.zst lib32-expat-2.7.2-1-x86_64.pkg.tar.zst gvfs-google-1.57.2-4-x86_64.pkg.tar.zst

But also one where the KeePassXC bug still persists, so presumably the error is somewhere in GNOME 49 after all, and to validate that I’d have to fully downgrade to GNOME 48 again.

Offline

#4 2025-09-28 12:25:16

lucaswerkmeister
Member
Registered: 2025-09-27
Posts: 7
Website

Re: [SOLVED] neo2 keyboard layout broken in KeePassXC&Emacs after GNOME 49

I tried downgrading a bunch of packages:

aurman -U gnome-backgrounds-48.2.1-1-any.pkg.tar.zst gnome-boxes-48.0-5-x86_64.pkg.tar.zst gnome-builder-48.3-1-x86_64.pkg.tar.zst gnome-calculator-48.1-2-x86_64.pkg.tar.zst gnome-calendar-48.1-1-x86_64.pkg.tar.zst gnome-characters-48.0-1-x86_64.pkg.tar.zst gnome-clocks-48.0-1-x86_64.pkg.tar.zst gnome-contacts-48.0-1-x86_64.pkg.tar.zst gnome-control-center-48.4-1-x86_64.pkg.tar.zst gnome-font-viewer-48.0-1-x86_64.pkg.tar.zst gnome-keybindings-48.4-1-x86_64.pkg.tar.zst gnome-logs-45.0-3-x86_64.pkg.tar.zst gnome-maps-48.7-1-x86_64.pkg.tar.zst gnome-menus-3.36.0-4-x86_64.pkg.tar.zst gnome-mimeapps-0.1-1-any.pkg.tar.zst gnome-music-1\:48.2-1-any.pkg.tar.zst gnome-online-accounts-3.54.5-1-x86_64.pkg.tar.zst gnome-session-48.0-1-x86_64.pkg.tar.zst gnome-settings-daemon-48.1-1-x86_64.pkg.tar.zst gnome-shell-1\:48.5-1-x86_64.pkg.tar.zst gnome-shell-extensions-48.3-2-any.pkg.tar.zst gnome-software-48.4-1-x86_64.pkg.tar.zst gnome-system-monitor-48.1-1-x86_64.pkg.tar.zst gnome-text-editor-48.3-1-x86_64.pkg.tar.zst gnome-tweaks-46.1-2-any.pkg.tar.zst gnome-user-docs-48.2-1-any.pkg.tar.zst gnome-weather-48.0-2-any.pkg.tar.zst xdg-desktop-portal-gnome-48.0-2-x86_64.pkg.tar.zst glib2-2.84.4-2-x86_64.pkg.tar.zst libgoa-3.54.5-1-x86_64.pkg.tar.zst mutter-48.5-1-x86_64.pkg.tar.zst libdisplay-info-0.2.0-2-x86_64.pkg.tar.zst mpv-1%3A0.40.0-5-x86_64.pkg.tar.zst

But the resulting system still wasn’t bootable, with the same error in the journal as in gnome-shell#11, so presumably I must’ve missed some package to downgrade.

Offline

#5 2025-09-28 18:13:48

lepolau
Member
From: France
Registered: 2025-04-14
Posts: 5

Re: [SOLVED] neo2 keyboard layout broken in KeePassXC&Emacs after GNOME 49

I have a similar problem. I may be mistaken, but apparently it's due to mutter: https://gitlab.gnome.org/GNOME/mutter/-/issues/4353

Offline

#6 2025-09-28 18:40:04

lucaswerkmeister
Member
Registered: 2025-09-27
Posts: 7
Website

Re: [SOLVED] neo2 keyboard layout broken in KeePassXC&Emacs after GNOME 49

Sounds like it indeed, thank you very much! Looks like that thread has a healthy amount of participation already, so I think I’ll just wait for a few days and see if a new update improves things :)

Last edited by lucaswerkmeister (2025-09-28 18:40:17)

Offline

#7 2025-10-01 13:55:15

lucaswerkmeister
Member
Registered: 2025-09-27
Posts: 7
Website

Re: [SOLVED] neo2 keyboard layout broken in KeePassXC&Emacs after GNOME 49

Just leaving a note here for anyone searching for similar issues – this also appears to affect IntelliJ IDEA (and presumably also PyCharm, PHPStorm, etc.), as shipped by e.g. intellij-idea-ultimate-edition (AUR). Hopefully the Mutter devs will publish a fix soon (an associated merge request has already been approved but not yet merged).

Offline

#8 2025-10-02 22:33:07

lucaswerkmeister
Member
Registered: 2025-09-27
Posts: 7
Website

Re: [SOLVED] neo2 keyboard layout broken in KeePassXC&Emacs after GNOME 49

Solved with mutter 49.0-5 (which cherry-picks the upstream fix, as reported by Marc Rendiet) \o/

Offline

Board footer

Powered by FluxBB