RFR: 8305418: [Linux] Replace obsolete XIM as Input Method Editor [v26]

Martin Fox mfox at openjdk.org
Mon Oct 14 20:33:30 UTC 2024


On Thu, 3 Oct 2024 14:23:24 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

>> This replaces obsolete XIM and uses gtk api for IME.
>> Gtk uses [ibus](https://github.com/ibus/ibus)
>> 
>> Gtk3+ uses relative positioning (as Wayland does), so I've added a Relative positioning on `InputMethodRequest`.
>> 
>> [Screencast from 17-09-2023 21:59:04.webm](https://github.com/openjdk/jfx/assets/30704286/6c398e39-55a3-4420-86a2-beff07b549d3)
>
> Thiago Milczarek Sayao has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 105 commits:
> 
>  - Remove idea file
>  - Fix the case when IME filters key_press (Polish ALT Gr + C)
>  - Merge branch 'master' into new_ime
>  - Fix for Polish AltGR combinations
>  - Remove negative checks
>  - Revert idea file
>  - Remove unused import
>  - Fix review points
>  - Merge branch 'master' into new_ime
>  - Merge branch 'refs/heads/master' into new_ime
>  - ... and 95 more: https://git.openjdk.org/jfx/compare/5428f267...e56588ba

It still looks like this is specific to the version of IBus that Ubuntu 24.04 is using (1.5.29-2) and that it's running in async mode. I can't reproduce it on Ubuntu 24.10 which uses IBus 1.5.30-1 (which is still defaulting to async mode so something else must have been fixed).

The most localized work-around for 24.04 is to run IBus in synchronous mode (IBUS_ENABLE_SYNC_MODE=1). The IBus development lead recommends this as the default setting and it's not clear why Ubuntu is overriding it. See the discussion in ibus/ibus#2620.

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

PR Comment: https://git.openjdk.org/jfx/pull/1080#issuecomment-2412202297


More information about the openjfx-dev mailing list