InvalidationListener on a binding created using Bindings.select is only called on first change

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 7u13
    • Component/s: javafx

      If you add an InvalidationListener to a binding created using Bindings.select(), the respective listener is only called upon the first change to the respective nested property.

         Bindings.<String>select(person.addressProperty(), "street").addListener(invalidationListener);

      If you use a ChangeListener instead, it works fine.
      If you use a regular binding with an InvalidationListener, it also works fine.

      Even if you add a ChangeListener to the same Binding object you bound your InvalidationListener to, the InvalidationListener suddenly starts to work as well.

            Assignee:
            Martin Sládeček
            Reporter:
            Andreas Pabst (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: