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

QML Slider not correct coercing of it's value and position properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 5.8.0
    • Quick: Controls 2
    • None
    • Win 10
      QT Creator 4.2.1

    Description

      import QtQuick 2.7
      import QtQuick.Controls 2.0 // or 2.1
      import QtQuick.Window 2.0
      
      Window{
      	visible: true
      	width: 200
      	height: 40
      
      	Slider {
      		id: slider
      		from: 0
      		to: 10
      		stepSize: 1
      		snapMode: Slider.SnapAlways
      	}
      	Label {
      		text: slider.value + " :: " + slider.position
      	}
      }
      

      On image in attachments showed all possible states of slider.

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            c0oo1d Maxim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes