RFR: 8176270: Adding ChangeListener to TextField.selectedTextProperty causes StringOutOfBoundsException

Robert Lichtenberger rlichten at openjdk.java.net
Wed May 27 07:52:13 UTC 2020


On Wed, 27 May 2020 07:37:13 GMT, Robert Lichtenberger <rlichten at openjdk.org> wrote:

>> We're in the process of finishing our products' release. If I find time
>> I will try and give this (rather nasty) Problem another shot.
>> 
>> On 2020-05-08 20:51, Kevin Rushforth wrote:
>>>
>>> @effad <https://github.com/effad> I just closed PR #73
>>> <https://github.com/openjdk/jfx/pull/73> due to inactivity. If you are
>>> interested interested in pursuing this, go ahead and reopen this
>>> (although you would need to address the feedback that clamping is
>>> insufficient).
>>>
>>>>>> You are receiving this because you were mentioned.
>>> Reply to this email directly, view it on GitHub
>>> <https://github.com/openjdk/jfx/pull/138#issuecomment-625963496>, or
>>> unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/ABCKAQ6JRLHJSGPI3U2YTNLRQRIB7ANCNFSM4LCNBSIA>.
>>>
>
> Reopening the pull request, since PR #73 has been closed.

Clearing the selection temporarily works fine to prevent the StringOutOfBoundsException but will also change
selectionProperty to reflect the selection being 0/0 for a short time.

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

PR: https://git.openjdk.java.net/jfx/pull/138


More information about the openjfx-dev mailing list