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

Martin Fox duke at openjdk.org
Wed Sep 6 16:43:51 UTC 2023


On Sun, 2 Apr 2023 20:38:25 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 03-09-2023 19:10:36.webm](https://github.com/openjdk/jfx/assets/30704286/2a36e9d0-59be-4092-905f-e31fabc6e2e4)

I ran into similar failures when I added a method to a core class but did not add it to the Stub version of the same class. In my case I added a call to Stage.java but didn't add it to SubStage.java.

I'll be away from my computer for about a week and will take a closer look at this when I get back. I did notice that when I press a dead key the caret ends up at the beginning of the preview string when it should be at the end. There's also an issue with the way keys on the numeric keypad are being encoded. The fix is minor (I think) and I'll send details when I get back. Beyond that I don't understand the IME machinery so here's hoping that someone who does can spare some cycles to review this.

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

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


More information about the openjfx-dev mailing list