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

Initial delay when moving Slider

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.1
    • 5.5.0, 5.6.2, 5.7.1, 5.8.0, 5.9.0 Alpha
    • Quick: Controls 1
    • None
    • Linux 64bit
    • dfc74f42d339e94617900447437d15cbaf08b08e

    Description

      Consider the following QML:

      import QtQuick 2.4
      import QtQuick.Controls 1.3
      import QtQuick.Window 2.2
      
      Window {
          width: 640
          height: 480
          visible: true
      
      
          Rectangle {
              width: 150
              height: 24
              anchors.centerIn: parent
      
              Slider {
                  id: zoomSlider
                  anchors.fill: parent
                  minimumValue: 1
                  maximumValue: 10000
                  stepSize: 1
      
                  onValueChanged: console.log("value", value);
              }
          }
      }
      

      Move the slide handle and observe that:

      1. You have to move mouse a few pixels before the handle starts following.

      2. The logged numbers jump from 1 to about 800. If you want to select a value between that you have to move the slider back once it has started following the mouse.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-47081
          # Subject Branch Project Status CR V

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes