GNU bug report logs - #74590
31.0.50 [scratch/igc branch]; key input sometimes skip fcitx input method preedit box

Previous Next

Package: emacs;

Reported by: Yikai Zhao <yikai <at> z1k.dev>

Date: Thu, 28 Nov 2024 13:20:02 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Pip Cet <pipcet <at> protonmail.com>
To: Yikai Zhao <yikai <at> z1k.dev>
Cc: Gerd Möllmann <gerd.moellmann <at> gmail.com>, Helmut Eller <eller.helmut <at> gmail.com>, 74590 <at> debbugs.gnu.org
Subject: bug#74590: 31.0.50 [scratch/igc branch]; key input sometimes skip fcitx input method preedit box
Date: Mon, 02 Dec 2024 16:26:50 +0000
"Yikai Zhao" <yikai <at> z1k.dev> writes:

> I have reproduced the issue with your patch, here's the relevant log:

Thank you! So it seems we call XFilterEvent correctly but it incorrectly
indicates that the keypress (event 2) should be handled by Emacs rather
than the input method. That's rather puzzling, particularly since
subsequent calls to XFilterEvent return 1, indicating that the key
release is handled by the input method.

I'm pretty much stumped at this point. It might be a timing difference
between the MPS and non-MPS builds, but I think it's more likely to be
a bug in our MPS code.

> Please let me know if there's any other info I can provide.

Well, you already tried setting x-gtk-use-native-input to t :-)

One thing you could try is to run a full x11trace of the Emacs session
and see whether anything unusual is in there. But that's not guaranteed
to yield any results.

Pip





This bug report was last modified 109 days ago.

Previous Next


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