gnome-shell 43.3 incompatible with ibus 1.5.27 due to use of `require-surrounding-text` signal
Affected version
Bug summary
gnome-shell triggers an exception here: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/gnome-43/js/misc/inputMethod.js#L79
Which prints the following warning (nothing more helpful unfortunately):
(gnome-shell:1834): Gjs-WARNING **: 22:25:47.960: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
_onConnected@resource:///org/gnome/shell/misc/inputMethod.js:64:23
This feature was added in: https://github.com/ibus/ibus/commit/ddead515d9d53fc692af252f610b009660494e21
Steps to reproduce
- Install gnome-shell 43.3
- Install ibus 1.5.27 (without any patches)
- Use an IM engne (i.e. ibus-anthy)
- Try to type (the text is invisible)
I ran into this issue using wayland. The invisible text issue doesn't happen in qt applications (whether running in wayland or x11) but it seems to happen everywhere else (including kitty).
What happened
Typing text with ibus is invisible.
What did you expect to happen
Typing text with ibus is visible.
Relevant logs, screenshots, screencasts etc.
Edited by A G