RFR: 8290844: Add Skin.install() method [v3]

Andy Goryachev angorya at openjdk.org
Wed Aug 24 15:32:40 UTC 2022


On Wed, 24 Aug 2022 15:20:15 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:

> But: turned out that we currently don't have such a case :)

But we do!  (I this one of my earlier comments did not got lost by Jira, sorry).

In TextInputControlSkin : 334, we have

control.setInputMethodRequests(new ExtendedInputMethodRequests()

this sets a property with a complex object (not a listener).  the constructor cannot distinguish between this property set by the user, or by the still attached skin.  So if the user wants to set a custom input method requests it will get overwritten.

There is no way around it.

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

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


More information about the openjfx-dev mailing list