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

QML Slider handle position is not at the right position after value is changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.2
    • None
    • macOS Monterey 12.1; MacBook Pro 15' 2017 (with TouchBar)
    • macOS

    Description

      After updating MacOS from "Big Sur" to "Monterey 12.1" I noticed strange behavior of Slider. If I'll place two Sliders (QtQuick.Controls) in one file and bind them together bidirectionally with Binding, so first Slider will update value of the second Slider, and other way around, "handle" of controlled slider will jump on position which is not corresponding to position of current value, or start moving synchronously ( same position in controlled Slider and controlling Slider).

      For example- min value is 0.0, max value is 1.0

      first slider value is 1.0 ,

      second slider value is 0.0.

      By moving first slider to the left (towards to 0.0), I am setting second slider value (with Binding) to be moving towards 1.0. And I am expecting "handle" is moving too with current value. But is not.

       

      I tried to run the same qml file on different MacOS versions and it works like expected, positions of the handles were correct (macOS Catalina and Big Sur). Only on Monterey 12.1 I experienced such behavior.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard Richard Moe Gustavsen
            duodargel.cordeperil Siarhei Darhel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes