On Tue, 30 Sep 2025 18:19:03 GMT, Martin Fox <[email protected]> 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. @lukostyra Could you be the primary reviewer on this? @tsayao has indicated that we will test (and hopefully review as well). ------------- PR Comment: https://git.openjdk.org/jfx/pull/1924#issuecomment-3360904502
