RFR: 8305418: [Linux] Replace obsolete XIM as Input Method Editor
Thiago Milczarek Sayao
tsayao at openjdk.org
Sun Sep 3 22:08:13 UTC 2023
On Mon, 3 Apr 2023 12:20:10 GMT, Glavo <duke 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`.
>
> I am a native speaker of Chinese. I tested it using the ibus pinyin input method on Ubuntu. I found some problems:
>
> * Input method candidate window sometimes appear in the wrong location:
>
> 
>
> * When the focus moves away from a text field, the console will continuously output an assertion error log:
>
>
> (java:3296): Gtk-CRITICAL **: 20:18:35.210: gtk_im_context_set_cursor_location: assertion 'GTK_IS_IM_CONTEXT (context)' failed
@Glavo the selection window should appear in the right location now.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1080#issuecomment-1496735428
More information about the openjfx-dev
mailing list