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

QSlider crash on OS X after setMinimum

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.4.1
    • 5.4.0
    • None
    • Mac OS X 10.10.1
    • macOS
    • 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

              liaqi Liang Qi
              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