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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: