Subject: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited text enabled

From: Po Lu <[email-masked]>
Date: Tue, 11 Jan 2022 08:43:31 +0800

Eason Huang <[email-masked]> writes:

> With latest version of Emacs 29.0.50, @Po Lu implement a nice feature to
> support showing pre-edited text of Fcitx5(A Chinese input method).
>
> But when I enable this new feature, Fcitx5 will freeze Emacs sometimes.
> Fcitx5 works well on gedit.
>
> Can anyone help to fixed this issue?

Thanks.  Some important questions:

  - Does this still happen under emacs -Q?  (You can set manually
    `x-gtk-use-native-input' to t there for testing.)

  - Could this perhaps be related to GC?