The forward_key_event function does not work in GNOME Wayland
Affected version
Fedora Workstation 34
mutter-40.0-beta-3.fc34.x86_64
This issue appears in Wayland only.
Bug summary
The forward_key_event function used by ibus input method does not work in GNOME Wayland.
Steps to reproduce
I installed Fedora-Workstation-Live-x86_64-34-20210308.n.0.iso in qemu and logged into GNOME Wayland.
Then added ibus-hangul to the input methods, and opened gedit for inputting.
- Open gedit, and switch to use "Korean (Hangul)" input method
- Enable the "Hangul mode" in the input source menu
- Press space key or input "a "
What happened
For the space key, no space key is inputted.
For the "a ", only "ㅁ" is inputted.
What did you expect to happen
For the space key, the space key is inputted.
For the "a ", the "ㅁ " text is inputted.
Relevant logs, screenshots, screencasts etc.
It seems the clutter_input_method_forward_key function is called, but the space key does not appear in gtk3 or gedit.