Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26778

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 6.0.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      macOS Monterey (v. 12.1); MacBook Pro 15' 2017 (with TouchBar);
    • Platform/s:
      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

        1. SliderBinding2.qml
          1 kB
          Siarhei Darhel
        2. Запись экрана 2021-12-21 в 00.40.05.mov
          815 kB
          Siarhei Darhel
        3. Снимок экрана 2021-12-21 в 00.36.41.png
          13 kB
          Siarhei Darhel
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            con Eike Ziller
            Reporter:
            duodargel.cordeperil Siarhei Darhel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes