Integrated: 8367045: [Linux] Dead keys not working
Martin Fox
mfox at openjdk.org
Sat Oct 4 16:42:58 UTC 2025
On Tue, 30 Sep 2025 18:19:03 GMT, Martin Fox <mfox at openjdk.org> wrote:
> This bug seems to only apply to Linux systems with no input method framework (IMF) configured. If you want to reproduce the original bug on Ubuntu 24.04 you need to go into Settings > System > "Region & Language" > "Manage installed languages" > Language and verify that "Keyboard input method system" is set to "none". If you change this setting you should reboot the system.
>
> Normally at the end of a dead-key sequence the IMF sends us a "commit" with the composed character followed by a "preedit-end" signal. When no IMF is configured these signals arrive in reverse order. This is not the way any IMF works and is confusing the heuristic we use to determine whether to send a KeyEvent or an InputMethodEvent.
>
> To insulate ourselves against this signal ordering issue we add a new flag that ensures that if we're in the preedit window when we start filtering an event we stay there until filtering is done.
This pull request has now been integrated.
Changeset: d5e817d6
Author: Martin Fox <mfox at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/d5e817d6e4f28bb1e14292f17f7fe95f5d001487
Stats: 13 lines in 2 files changed: 12 ins; 0 del; 1 mod
8367045: [Linux] Dead keys not working
Reviewed-by: lkostyra, tsayao
-------------
PR: https://git.openjdk.org/jfx/pull/1924
More information about the openjfx-dev
mailing list