RFR: 8305418: [Linux] Replace obsolete XIM as Input Method Editor [v22]
Andy Goryachev
angorya at openjdk.org
Mon Jun 17 17:56:26 UTC 2024
On Sun, 9 Jun 2024 12:56:32 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 96 commits:
>
> - Merge branch 'refs/heads/master' into new_ime
> - 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
> - ... and 86 more: https://git.openjdk.org/jfx/compare/c8b96e4e...d6230dec
I am testing with an unorthodox linux setup: linux mint on mac book pro
`Linux OraMac 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux`
I have Japanese input method support installed (Input Method Framework: fcitx, input method Mozc)
I can switch to Japanese IME in the native Text Editor, and I can invoke the IME in a TextArea when running the Monkey Tester.
I cannot invoke Japanese IME or in fact switch to another input language if I am inside an editable TableView in the Monkey Tester. Starting with the "us" selection in the tray, even if I right click on that icon in the tray and change the input method it goes back to the "us". Space-Space (the key sequence used to toggle input language in my setup) does not work, and Ctrl-Space which brings up the Japanes IME does not work either.
See nothing in the console.
I might be doing something wrong, of course, since this is not an environment I typically work with.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1080#issuecomment-2173996625
More information about the openjfx-dev
mailing list