Ibus stopped working with Plasma wayland after some recent update

I am using KDE Plasma 6.3.4 in EndeavourOS. I haven’t used Wayland for a while. I logged into wayland recently, and realized that iBus is not working (except when language is English).

Every keypress is opening a Window titled “ibus-ui-gtk3”, which is the suggestion window - and it is closed immediately (spontaneously).

As a result, ibus is printing the letter on the text field, and the letter is deleted on its own.

I verified this with ibus-pinyin and ibus-avro.

There is no issue when the language is set to be English.

The only workaround is to disable the preview window (but then I lose the ability to change the default word to a different word that I intend to write).

I did use iBus in Wayland in Plasma 6.1.x (same computer), and back then it worked fine.

I found a solution.

First, remove iBus from startup applications and remove QT_IM_MODULE and GTK_IM_MODULE environment variables.

Go to Settings -> Keyboard -> Virtual Keyboard and choose iBus Wayland. Reboot. Afterwards, it should work. You may have to choose your input languages once again in iBus settings.