RFR: 8268877: TextInputControlSkin: incorrect inputMethod event handler after switching skin

Andy Goryachev angorya at openjdk.org
Fri Nov 4 21:06:39 UTC 2022


On Tue, 27 Sep 2022 19:36:46 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Using new Skin.install() method to properly set and remove inputMethodRequests property in TextInputControl.
> 
> This avoids memory leaks resulting from skin change, as well as honors user-set properties when installing an uninstalling.
> 
> This PR depends on [JDK-8290844](https://bugs.openjdk.org/browse/JDK-8290844) Skin.install().

I wonder if this even needs an implementation note, as it is a bug fix.
We did add one in [JDK-8292212](https://bugs.openjdk.org/browse/JDK-8292212) Skin.install(), should be sufficient.

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

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


More information about the openjfx-dev mailing list