On Mon, 9 Dec 2024 17:25:58 GMT, Martin Fox <m...@openjdk.org> wrote:
>> modules/javafx.graphics/src/main/native-glass/gtk/glass_window_ime.cpp line >> 100: >> >>> 98: >>> 99: void WindowContextBase::commitIME(gchar *str) { >>> 100: if (im_ctx.on_preedit) { >> >> Through `LOG0`/`LOG1`, I found that the value of `im_ctx.on_preedit` is >> `false` under `fcitx`. >> I removed this check, then tested under `fcitx` and `ibus`. All passed. > > @hellyguo Could you provide more details on which Linux distribution, input > method, and fcitx version you're using? > > I just tested this on Ubuntu 24.10. For Chinese I'm using Intelligent Pinyin > and for Japanese I'm using Mozc. Everything worked under Ibus but when I > switched to fcitx 4 both my Chinese and Japanese input methods stopped > working for all apps, not just JavaFX. This makes me think that I'm not > setting up fcitx correctly. I did reboot at each step as I changed the > configuration. I did not test it with fcitx since gtk uses ibus. I think it's possible to use fcitx by installing a gtk im module. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1080#discussion_r1876727004