Unable to input Chinese in shell entry after upgrading to mutter 3.36.6
Affected version
Arch Linux, kernel 5.8.7-arch1-1. Mutter 3.36.5. I tested Xorg.
Bug summary
After upgrade from mutter 3.36.5 to 3.36.6, I cannot input Chinese with iBus in all GNOME Shell entries (Overview search bar, Alt+F2 run command dialog, etc), iBus popup as usual but the selected word won't go into entry, also cannot use enter to send English character into entry.
Downgrade GNOME Shell has no effect, and downgrade mutter fixed it, so consider it a mutter bug.
Steps to reproduce
- Upgrade to mutter 3.36.6.
- Add a Chinese input method for iBus.
- Open a entry, like Alt+F2 run command or Overview search.
- Type some Chinese words and try to commit it and failed.
What happened
No Chinese word goes into entry.
What did you expect to happen
Chinese word selected goes into entry.
Relevant logs, screenshots, screencasts etc.
I've done a git bisect
this morning and find the commit related:
[alynx@camelot:~/Projects/mutter:] % git bisect bad
aee35275e9c79d467f07e56efc3372ee5ddca13a is the first bad commit
commit aee35275e9c79d467f07e56efc3372ee5ddca13a
Author: Carlos Garnacho <carlosg@gnome.org>
Date: Mon Feb 17 11:03:51 2020 +0100
clutter: Push commit/delete_sourrounding as IM events
These are not given directly to the input focus anymore, instead
queued up as events.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1423
clutter/clutter/clutter-input-method.c | 50 ++++++++++++++++++++++++----------
1 file changed, 35 insertions(+), 15 deletions(-)
[alynx@camelot:~/Projects/mutter:] %
So this is related to !1423 (merged) and @carlosg could you give some advice? Thanks!