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

QSlider crash on OS X after setMinimum

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.4.0
    • Fix Version/s: 5.4.1
    • Labels:
      None
    • Environment:
      Mac OS X 10.10.1
    • Platform/s:
      macOS
    • Commits:
      cd389e4584754554282fbcb1cdc1b174d0f211dc

      Description

      I have a QSlider on my window.

      I do :
      slider->setMaximum(500);
      but if I do :

      slider->setMinimum;

      For 62 <= x <= 66, I get a crash (Division by zero in QMacStylePrivate::getSliderInfo). Trace is attached.
      It works for x < 62 and x > 66.

      This works without problems on Linux.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                liaqi Liang Qi
                Reporter:
                jcelerier Jean-Michaël Celerier
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes