RFR: 8367045: [Linux] Dead keys not working [v4]

Martin Fox mfox at openjdk.org
Sun Sep 28 20:05:44 UTC 2025


On Sun, 28 Sep 2025 15:34:09 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

>> The bug report is on Linux Mint which does not use ibus (the gnome default).
>> 
>> With this change, it continues to work on ibus, but also works works without it (on mint) and with fcitx.
>> 
>> It seems it's correct - but it's weird that it needed those bits before. I would say it's related to  `IBUS_ENABLE_SYNC_MODE` (see [this comment](https://github.com/openjdk/jfx/pull/1080#issuecomment-2412202297) on #1080.), but it seems to be still set to 0 on Ubuntu 24.04.
>> 
>> @Glavo: Can you check if Chinese input is still correct?
>> @andzsinszan: Can you check for Japanese?
>
> Thiago Milczarek Sayao has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Remove send_keypress
>  - Remove send_keypress

With this PR all text input is delivered as committed text in an InputMethodEvent. JavaFX never receives  a KEY_TYPED KeyEvent. This simplifies things but will cause all manner of follow-on problems. We need a better solution.

I cannot easily run Linux Mint since it doesn't provide an ARM version. This bug does not reproduce for me in a stock Ubuntu 24.04.3 environment which defaults to IBus. Does Linux Mint default to a different input method framework such as fcitx?

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1922#issuecomment-3344206998


More information about the openjfx-dev mailing list