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

Gábor Pintér duke at openjdk.org
Mon Jun 10 00:14:24 UTC 2024


On Mon, 27 May 2024 09:25: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 95 commits:
> 
>  - Merge branch 'refs/heads/master' into new_ime
>  - Merge branch 'master' into new_ime
>  - Add signals to avoid warnings
>  - Merge branch 'master' into new_ime
>    
>    # Conflicts:
>    #	modules/javafx.graphics/src/main/native-glass/gtk/GlassApplication.cpp
>  - Add check for jview
>  - - Fix comment path
>  - - Fix double keyrelease
>  - - Use a work-around to relative positioning (until wayland is not officially supported)
>    - Unref pango attr list
>  - Merge branch 'master' into new_ime
>  - Account the case of !filtered
>  - ... and 85 more: https://git.openjdk.org/jfx/compare/94aa2b68...8c152c80

IME user here for Japanese. Thanks for this improvement.
I am  eager to try it with Japanese on Ubuntu 24.04/ibus/mozc. 
JavaFx with Gtk3 seems to be unaware of any mozc IME activity - while Gtk2 works.

Is building the `new_ime`  branch the only way to try it?

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

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


More information about the openjfx-dev mailing list