> 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).

Andy Goryachev has updated the pull request with a new target base due to a 
merge or a rebase. The incremental webrev excludes the unrelated changes 
brought in by the merge/rebase. The pull request contains six additional 
commits since the last revision:

 - Merge branch 'master' into 8396922.caret.animation
 - cleanup
 - tree showing
 - focus
 - test
 - fix

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/2365/files
  - new: https://git.openjdk.org/jfx/pull/2365/files/edecbf69..945559cd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=2365&range=01
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2365&range=00-01

  Stats: 35342 lines in 505 files changed: 16794 ins; 5640 del; 12908 mod
  Patch: https://git.openjdk.org/jfx/pull/2365.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2365/head:pull/2365

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

Reply via email to