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

Seems like Slider ignores a new value if thumb is still animating

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8u40
    • 8
    • javafx
    • None

      I am developing a demo where I need a slider to reset after use.

      Load the attached project. In the code, there is a mouseReleased event on the slider which sets the slider back to 0.

      Perform a slow mouse click on the track, giving the thumb time to catch up to the mouse position and it works as expected.

      However, perform a brisk mouse click on the track and the thumb does not reset back to 0.

      Seems like the slider ignores the new value if the thumb is still animating?

            jgiles Jonathan Giles
            mchicharro Moises Chicharro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: