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

QSlider is broken in MacOS Monterey

    XMLWordPrintable

Details

    • macOS
    • 4bee9cdc0ac4bbee7f061e8f6050d704032f6d0f (qt/qtbase/dev) b455e05f41c89ff3387973c8feac8463b9873d8d (qt/qtbase/6.2) 03fdef133e213677c542c33ae372f7ca2631e61f (qt/qtbase/6.2.2), 4db9fdf58 (dev), 531bb7785 (6.5)

    Description

      The slider is not working correctly in new MacOS Monterey (12.0.1, on Intel platform at least; it was working fine in older versions) when there are more than one horizontal slider in the same window. I suspect that Apple introduced a new system wide default style sheet for the slider component and QT has issues with it.

      Bug #1:
      When we drag the grip in more than one slider, the grip in the next slider immediately jumps to the position where the previous one was left (applies the same offset), regardless of its initial position. (sliders.zip)

      Bug #2:
      When we move one slider, all other sliders update to the same value in the panel. Despite that, no signal is emitted for valueChanged for the other sliders. The glitch affects only to the visuals.
      I was able to reproduce this issue calling this->update() in an valueChanged() slot associated to any of the sliders. (sliders2.zip)

      Bug #3:
      The grip circle seems to be bigger than it should (looks clipped at the top and bottom). Also, it sometimes changes the color between white and grey randomly on mouse up, when double clicking. Sometimes you can see some white/grey vertical bars (like in an incomplete re-paint; see slider_bug3.png).

      Related to: https://bugreports.qt.io/browse/QTBUG-96522

      Attachments

        1. slider_bug1.mov
          3.66 MB
        2. slider_bug2.mov
          6.92 MB
        3. slider_bug3.png
          slider_bug3.png
          11 kB
        4. sliders.zip
          6 kB
        5. sliders2.zip
          9 kB

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              ahi Adriel Jr.
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: