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

Initial delay when moving Slider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.0, 5.6.2, 5.7.1, 5.8.0, 5.9.0 Alpha
    • Fix Version/s: 5.9.1
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Environment:
      Linux 64bit
    • Commits:
      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

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

            Activity

              People

              • Assignee:
                ulherman Ulf Hermann
                Reporter:
                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