GNU bug report logs - #53698
29.0.50; ibus input method of chinese with rime engine can't work in v27 and ibus candidate menu blink in v29

Previous Next

Package: emacs;

Reported by: 江 暇疆 <aiselcce <at> outlook.com>

Date: Tue, 1 Feb 2022 16:04:01 UTC

Severity: normal

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: 江 暇疆 <aiselcce <at> outlook.com>
Cc: 53698 <at> debbugs.gnu.org
Subject: bug#53698: 29.0.50; ibus input method of  chinese  with rime engine can't  work in v27 and ibus candidate menu blink in  v29
Date: Thu, 03 Feb 2022 09:20:56 +0800
江 暇疆 <aiselcce <at> outlook.com> writes:

>    i found a site say to use "lsof" checking if 'im-ibus.so' is called  for emacs,
>    then i use follow command:
>       emacs -q
>       ps -aux | grep emacs
>       lsof -p PID | grep im-ibus.so
>      -> grep found nothing.  in emacs -q , it can't input chinese.
>
>    so, i go to download src from https://github.com/emacs-mirror,
>    after the command  make   is done,
>    i tried these command:
>        ./src/emacs -q
>        ps -aux | grep emacs
>        lsof -p PID  | grep 'im-ibus.so'
>    -> emacs PID  kevin  mem       REG              259,3    34688 1847459 /usr/lib/gtk-3.0/3.0.0/immodules/im-ibus.so
>     -> 'im-ibus.so' it is there. and i can type chinese in emacs -q v29.
>     
>
>    i also tried to build:  https://ftp.gnu.org/gnu/emacs/emacs-27.2.tar.xz
>    with emacs -q, it can't input chinese using ibus,
>     and found nothing when use command:  
>         lsof -p PID  | grep 'im-ibus.so'.

The problem with Emacs 27 has already been fixed in 28.  So the real bug
is with the candidiate area blinking.

> but there still with two problem
>  (1). i found the menu is moved with cursor blink,
>     this short video is show what i say:  
>    (
>     https://drive.google.com/file/d/18ynnH5Zvv3C87JMqXumNFhwobgjiP3sC/view?usp=sharing
>     https://drive.google.com/file/d/16ghBGnQT8i03M3vxg456ZjyAAZMs665o/view?usp=sharing
>
>    one is no candidate word menu occur, in emacs 27 when swiched to ibus on and input.
>    another video is about the menu blink.
>    )
>
>  (2). since emacs 26, when i run ibus -rx ,
>       ibus only malfunction in emacs ,
>       in other like firefox work as normal.

Other programs such as Firefox typically use the GTK input module, while
Emacs uses XIM, which doesn't like it when the IM server restarts.

> could you hint me how to solved (1) mainly?  because there are
> packages or configs in emacs 29 can't work and the ibus menu blink
> when i type words in emacs 29 continuously using ibus-rime.

Does that only happen under Xwayland?  If so, set
`x-gtk-use-native-input' to t, which will let Emacs use the GTK input
module instead, and should resolve the issue.

Thanks.




This bug report was last modified 3 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.