RFR: 8305418: [Linux] Replace obsolete XIM as Input Method Editor [v31]
Helly Guo
duke at openjdk.org
Tue Dec 10 09:56:00 UTC 2024
On Mon, 9 Dec 2024 17:25:58 GMT, Martin Fox <mfox at 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.
hi @beldenfox / @tsayao , thanks for response.
here is my env.
# uname -a
Linux workdeb 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
# fcitx5 -v
5.0.21

-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1080#discussion_r1877751761
More information about the openjfx-dev
mailing list