RFR: 8305418: [Linux] Replace obsolete XIM as Input Method Editor [v22]
robbiezl
duke at openjdk.org
Wed Aug 7 05:36:46 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 tested it in the following two Linux environments, and the Chinese input looks fine.
Env1:
商业版本:LinxOS 6.0.99 EL20.03-SP3 20240531 \n \l
内核:Linux version 4.19.90-2206.2.0.0154.vlx15.v99_2003.x86_64 (root at runner-sdczntp1-project-3842-concurrent-0) (gcc version 7.3.0 (GCC)) #1 SMP Wed May 29 10:22:41 CST 2024
Env2:
商业版本:[dist]
name = KylinSec-Server-PG
milestone = V3-240605-1330
arch = x86_64
dist_id = KylinSec-Server-PG-V3-240605-1330-x86_64
[os]
installtype = graphical-server-environment
内核:Linux version 4.19.90-2405.3.0.0276.kb1.ky3_4.x86_64 (mockbuild at localhost.localdomain) (gcc version 7.3.0 (GCC)) #1 SMP Thu May 23 16:22:59 CST 2024
> @Glavo did you get any feedback?
>
> I can provide a build with this PR included, if that's getting on the way.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1080#issuecomment-2272653202
More information about the openjfx-dev
mailing list