Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-136556

RangeSlider misbehaves when "first.value" exceeds previous "to" after range changes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9.0
    • Quick: Controls 2
    • None
    • macOS, Windows

    Description

      This issue can be reproduced 100% with the attached example .

      When changing the RangeSlider's configuration, if the new first.value is greater than the previous to value, first.value ends up being set to the old to value, even though a new to value has been set.

       

      Reproduction Steps:

      1. Press the "Setting 1" button
      1. Press the "Setting 2" button
      1. Press the "Load" button

       

      Expected Behavior:
      rangeSlider.first.value should be "2000"

       

      Actual Behavior:
      rangeSlider.first.value is "100"

       

      Additional Info:
      Calling setValues() directly works as expected.

      Attachments

        1. RangeSlider.zip
          3 kB
          Hyunkook Khang
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            hyunkook_khang Hyunkook Khang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes