On Tue, 10 Nov 2026 22:51:24 GMT, Andy Goryachev <[email protected]> wrote:

> Reworked the caret animation logic.
> 
> The memory leak is fixed by:
> - creating caret animation on demand and properly shutting it down on 
> `dispose()`
> - unregistering the listening `VFlow` from the model
> 
> As a usability feature, the caret stops blinking and remains shown when 
> navigating, editing, or when the mouse is pressed.  Unfortunately, a minor 
> transient issue remains where the caret starts blinking when it should not 
> (for example, in the monkey tester, right click to invoke a popup menu, then 
> right click in the text to dismiss and show the popup again - the caret 
> blinks).  I feel this is a minor, self-healing condition that I am ok with. 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Reviewers: @arapte @Ziad-Mid

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

PR Comment: https://git.openjdk.org/jfx/pull/2365#issuecomment-6859060990

Reply via email to