RFR: 8284665: First selected item of a TreeItem multiple selection gets removed if new items are constantly added to the TreeTableView

Ajit Ghaisas aghaisas at openjdk.java.net
Thu May 12 06:50:56 UTC 2022


On Thu, 5 May 2022 16:21:45 GMT, Jose Pereda <jpereda at openjdk.org> wrote:

> This PR fixes an issue with selection of multiple items in TableView and TreeTableView controls that gets moved unexpectedly when new items are added even way below the selected items.
> 
> A couple of tests have been added.  They fail without this PR (first selected item gets deselected, and table anchor gets moved), and pass with this PR (first selected item keeps selected, and table anchor remains at the same place).

The fix looks good.
I verified that tests fail without this fix and pass with it.

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

Marked as reviewed by aghaisas (Reviewer).

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


More information about the openjfx-dev mailing list