Add support to text_input_v1 for Chromium-based application IME input.
Affected version
Manjaro Linux with
- GNOME 45.2 and below
- Wayland 1.22.0
- fcitx5 5.1.5
- Chromium 120 and below
Bug summary
When using fcitx5 as IME, GTK and QT Application runs on wayland can display IME input popup and receive input correctly. But Chrome and Electron applications which forced to running at wayland are not. If I run Chromium-based application on Xwayland, throught IME works great, but window will become blurryand laggy. Some may say execution argument --gtk-version=4
can help, but it not working on Chrome 120 and all Electron applications.
After I search this issue online, It seems to be a problem of Chromium due to unsupport to text_input_v3 protocol, which is the only one protocol supported by Mutter. As I know that Kwin has support protocols from text_input_v1 to text_input_v3, so may Mutter can support them either for compability?
Steps to reproduce
What happened
When running Chromium-based application on Wayland, IME not working at all.
What did you expect to happen
When running Chromium-based application on Wayland, IME can popup at right position and text input correctly.
Relevant logs, screenshots, screencasts etc.
NOPE.