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

QSlider crash on OS X after setMinimum

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.4.1
    • 5.4.0
    • None
    • Mac OS X 10.10.1
    • macOS
    • cd389e4584754554282fbcb1cdc1b174d0f211dc

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes