After the changes in JDK-8154216, it became apparent that when cell-based multiple selection was enabled, we would see index out of bounds exceptions as the number of changes in the selectedCells list would be greater than the number of items (e.g. imagine a table with 3 columns and 4 rows - selecting all would result in 12 selected cells, when there are only 4 rows).
In these cases we need to properly map from cells to distinct indices.
In these cases we need to properly map from cells to distinct indices.
- relates to
-
JDK-8154215 Simplify selection model code by removing use of ReadOnlyUnbackedObservableList
-
- Open
-
-
JDK-8267781 Tree-/TableView: incorrect notification from selectedIndices
-
- Open
-
-
JDK-8154216 Remove usage of ReadOnlyUnbackedObservableList in selection models for the selectedItems list
-
- Resolved
-