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

2022-05-31 Thread Ajit Ghaisas
On Tue, 24 May 2022 09:51:29 GMT, Jose Pereda  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).
>
> Jose Pereda has updated the pull request with a new target base due to a 
> merge or a rebase. The pull request now contains two commits:
> 
>  - Merge branch 'master' into 8284665-tableviewanchor
>  - Only shift anchor if existing one is affected by the change event, and 
> tests

Marked as reviewed by aghaisas (Reviewer).

-

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


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

2022-05-24 Thread Jose Pereda
> 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).

Jose Pereda has updated the pull request with a new target base due to a merge 
or a rebase. The pull request now contains two commits:

 - Merge branch 'master' into 8284665-tableviewanchor
 - Only shift anchor if existing one is affected by the change event, and tests

-

Changes: https://git.openjdk.java.net/jfx/pull/790/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=790&range=01
  Stats: 101 lines in 4 files changed: 99 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jfx/pull/790.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/790/head:pull/790

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