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

Slider isValueChanging is not working correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • Windows 7 64bit, java 7 update 5

      The slider isValueChanging is not working correctly if you change the value by dragging the thumb.

      First if you do not do slider.setSnapToTicks(true), dragging the thumb with the mouse will always make isValueChanging=true even after you "dropped" the thumb.

      If you set slider.setSnapToTicks(true), dragging and releasing the thumb on the limits of the slider will make isValueChanging=true even after you "dropped" the thumb.Otherwise if you drop the thumb somewhere else other than the limits, isValueChanging works as expected.

      Note: look at the console output while running the attached file.

            psomashe Parvathi Somashekar (Inactive)
            pdvieira Pedro Vieira
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: