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

QDoubleSpinBox does automatically steps up/down after mouse key press, move out and release.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 7 Professional, Service Pack 1, 64 bit
      Qt Creator 2.6.2 (32 bit)

      Description

      QDoubleSpinBox is using in QDialog. FIRST action after dialog opening is mouse key pressing on spinner, moving out the spin box and releasing the mouse key. In most cases the spinner value is increasing/decreasing automatically until I click on spinner again. There is in infinity loop called QAbstractSpinBox::timerEvent, then stepBy method. I'm not using timer anywhere. Call stack screenshot is attached.

      If I click somewhere in dialog and then use the QDoubleSpinBox, bug does not occur.

        Attachments

        1. bug-QDoubleSpinBox.PNG
          bug-QDoubleSpinBox.PNG
          22 kB
        2. qtbug29782_diag.patch
          2 kB
        3. qtbug29782.tar
          10 kB

          Issue Links

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

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              marmik Marek Mikes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes