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

SelectedItems list is tripped up by cell multiple selection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: