On Wed, 26 May 2021 15:48:08 GMT, Michael Strauß <mstra...@openjdk.org> wrote:

> I'm not quite sure I understand what you're getting at. Are you suggesting to 
> apply the changes reported by `selectedIndices` to our copy of the items 
> (`itemsRefList`) while iterating the changeset? If so, I think that doesn't 
> work because crucial `selectedIndices` notifications are missing.
> 

exactly, that's what I meant right from the start (and obviously haven't been 
clear enough ;) And now I understand what you tried to explain to me, probably 
also right from the start .. thanks for spelling it out!

hmm .. so we are stuck with a severely misbehaving selectedItems that's trying 
to do its best to compensate for the misbehaviour in selectedIndices (there are 
not only missing but also badly incorrect, notifications see f.i. 
[JDK-8267781](https://bugs.openjdk.java.net/browse/JDK-8267781)). There 
probably should be some documentation to explain that fact. Maybe open a 
follow-up issue to make sure the selectedItems are revisited?

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

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

Reply via email to