DateProvider observers are updated twice for each time step

Issue #49 resolved
Bruce Schubert created an issue

The first update appears to be from the time controller action, the second update is from the DatePicker.setDate.

Comments (4)

  1. Bruce Schubert reporter

    The DateTimeBand is the observer that invokes the DatePicker.setDate. It runs setDate in a separate thread. Not only is this a duplicate update, but the second update is out of sequence with the first due to the "runLater" execution.

  2. Bruce Schubert reporter

    Time: Added workaround to prevent recursive DateProvider updates. Resolves #49. - Added a simple semiphore to signal when we're processing a DateProvider update message.

    → <<cset 0f1d0289ef16>>

  3. Log in to comment