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

Not possible to change Slider value by tapping

XMLWordPrintable

    • Android
    • aa510d9ac0bd1ecab6baa260d3ff5f2a64eb3acf

      Slider value van't be changed by tapping, dragging the handle works fine.

      It can be easily reproduced with the below code:

      import QtQuick 2.3
      import QtQuick.Controls 1.2
      import QtQuick.Controls.Styles 1.2
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
          Slider {
              anchors.centerIn: parent
              tickmarksEnabled: true
              stepSize: 1.0
              maximumValue: 5.0
              style: SliderStyle {
                  groove: Rectangle {
                      implicitWidth: 200
                      implicitHeight: 8
                      color: "gray"
                      radius: 8
                  }
                  handle: Rectangle {
                      anchors.centerIn: parent
                      color: control.pressed ? "white" : "lightgray"
                      border.color: "gray"
                      border.width: 2
                      implicitWidth: 32
                      implicitHeight: 32
                      radius: 12
                  }
              }
          }
      }
      

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

            Unassigned Unassigned
            anylitok Antti Yli-Tokola (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes