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

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • 8u40
    • Affects Version/s: 7u6
    • Component/s: javafx
    • None
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: