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

A floating-point precision error with the slider value.

    XMLWordPrintable

Details

    • Linux/X11, Windows

    Description

      When setting the step size to 0.1 and moving the slider 3 times, a floating-point precision error is encountered.

      To reproduce the issue:

      • Run the attached example project.
      • Click on the right button to increase the value 3 times, then click 3 times on the left button to decrease the value 3 times.

      A floating-point precision error is observed, and a 4th click is needed to decrease the value to 0.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mahdi.belila Mehdi Belila
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes