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

ListView does not fire change event when using Control+click

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • fx2.0
    • 7-pool
    • javafx
    • Win 7 build34 32bits

      When unselecting items in ListView by pressing Control key, no event is firing.
      Thanks.

      The listener is never called:
      ...
              // Selection
              listView.getSelectionModel().selectedItemProperty().addListener(
                      new ChangeListener<Recipient>() {

                          public void changed(ObservableValue<? extends Recipient> ov,
                                  Recipient old_val, Recipient new_val) {
                              System.err.println("OLD:"+old_val+", NEW:"+new_val);
                          }
                      });

            jgiles Jonathan Giles
            anouardjfx arnaud nouard (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: