RFR: 8320912: IME should commit on focus change

Martin Fox mfox at openjdk.org
Wed Jan 31 21:03:06 UTC 2024


On Wed, 31 Jan 2024 20:07:05 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Another problem I see, and it might be a totally separate issue, is that sometimes when I launch the Monkey Tester and switch to Japanese input, TextField is still receives US input, despite the IME window appearing.

That behavior happens any time the focus is on anything other than a TextInput control and you start using an IM. Glass is told that the IM should be disabled but it still sends events to the input context. That's a long standing bug. The fix for that is part of PR #1351 (in keyDown: I check the IM enabled state before sending key events to the input context).

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

PR Comment: https://git.openjdk.org/jfx/pull/1356#issuecomment-1919949874


More information about the openjfx-dev mailing list