[jfx20] RFR: 8301832: InputMethodEvents are not enabled for text input controls

Kevin Rushforth kcr at openjdk.org
Tue Feb 7 12:14:52 UTC 2023


On Mon, 6 Feb 2023 18:45:10 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> **Targeting jfx20 branch**
> 
> A fix for regression introduced by [JDK-8268877](https://bugs.openjdk.org/browse/JDK-8268877).
> 
> For IME to work, both `setOnInputMethodTextChanged()` and `setInputMethodRequests()` needs to be set, see Scene:2242.
> 
> The fix involves changing the code back to setting the control properties and doing so in the install() method.
> 
> Thank you Martin Fox  for noticing the issue!

This is the same category of bug fix as many accessibility fixes, in that it requires entering a special mode on your computer to test it using an existing test program like `HelloTextArea`. For this reason, I added a `noreg-hard` keyword to the JBS bug.

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

PR: https://git.openjdk.org/jfx/pull/1024


More information about the openjfx-dev mailing list