RFR: 8305418: [Linux] Replace obsolete XIM as Input Method Editor [v22]
Martin Fox
mfox at openjdk.org
Wed Jun 19 16:35:24 UTC 2024
On Mon, 17 Jun 2024 17:53:53 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> 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.
The issue @andy-goryachev-oracle reported with the Monkey Tester TableView isn't related to this PR or even Linux since I can reproduce it on Mac. As I double-click on cells in the Table View to make them editable Glass is being told to disable the IME most of the time. Sometimes the IME is enabled but I have to figure out a pattern. On Mac disabling the IME turns off the composition window but I can still enter individual Japanese characters which makes the problem less obvious than on Linux.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1080#issuecomment-2179096935
More information about the openjfx-dev
mailing list