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

A floating-point precision error with the slider value.

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 61050349b (dev), 6125672c8 (6.10), 7f85ccb32 (6.9), c860ea35d (tqtc/lts-6.8)

    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

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

        Activity

          People

            dorisverria Doris Verria
            mahdi.belila Mehdi Belila
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews