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

listView.getItems().removeAll(listView.getSelectionModel().getSelectedItems()) works incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8u40
    • 7u6
    • javafx
    • None
    • Windows 7 x64, JavaFX 2.2 fcs, Java 7y6 x64

      There is a problem in the following operation:

      listView.getItems().removeAll(listView.getSelectionModel().getSelectedItems())

      If only the first item is selected, all items are removed from the list. Run the attached app to reproduce the issue.

            jgiles Jonathan Giles
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: