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

Jose Pereda jpereda at openjdk.java.net
Tue May 31 10:10:48 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).

This pull request has now been integrated.

Changeset: 83a46e0c
Author:    Jose Pereda <jpereda at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/83a46e0cef3f041b349c59cd9108d9a5895e79c9
Stats:     101 lines in 4 files changed: 99 ins; 0 del; 2 mod

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

Reviewed-by: aghaisas

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

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


More information about the openjfx-dev mailing list