External QMK keyboard misbehaves in Wayland session

I have a keyboard which has QMK firmware that works fine on Fedora 37 in an Xorg session. When I log into a Wayland session, the keyboard starts to misbehave. The main problem is that one shot layers act as modifiers (only modifies a key when held). I have looked around but haven’t seen anyone having the same problem and don’t know where to begin debugging something like this. Any help is much appreciated.

1 Like

This seems to be an IBus issue: Keyboard input gets jumbled when typing fast · Issue #2486 · ibus/ibus · GitHub. I managed to solve a similar problem by adding the following lines:

GTK_IM_MODULE=gtk-im-context-simple
QT_IM_MODULE=simple

to my ~/.config/environment.d/env.conf, which disables the IBus input method.