Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8154506

SelectedItems list is tripped up by cell multiple selection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • javafx
    • None

      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.

            jgiles Jonathan Giles
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: