If you click on a slider to select the time instead of sliding the thumb to the desired value on the hours/minutes/seconds sliders in a CalendarTimePicker, the calendarProperty does not get updated.
This all seems to stem from the fact that the Slider's valueChangingProperty does not fire if you don't grab the thumb (probably a bug in JavaFX: RT-17276, RT-17277, RT-23058). In turn, this causes the following code:
to never get called and thus, the changingCalendar does not get accepted into the calendarProperty.
There is probably a way to change the code a little bit as to not rely on the valueChangingProperty. This bug can be easily missed by users, as the controls in the popup do reflect the selected time if you open it up again, but anything bound to the calendarProperty is not updated!
Hi,
If you click on a slider to select the time instead of sliding the thumb to the desired value on the hours/minutes/seconds sliders in a CalendarTimePicker, the calendarProperty does not get updated.
This all seems to stem from the fact that the Slider's valueChangingProperty does not fire if you don't grab the thumb (probably a bug in JavaFX: RT-17276, RT-17277, RT-23058). In turn, this causes the following code:
to never get called and thus, the changingCalendar does not get accepted into the calendarProperty.
There is probably a way to change the code a little bit as to not rely on the valueChangingProperty. This bug can be easily missed by users, as the controls in the popup do reflect the selected time if you open it up again, but anything bound to the calendarProperty is not updated!