Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.12, 5.15.8, 6.2.1
-
None
-
-
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
Issue Links
- is duplicated by
-
QTBUG-41473 QSlider::initStyleOption doesn't fill QStyleOptionSlider.activeSubControls field
- Closed
- resulted in
-
QTBUG-112899 QMacStyle setupSlider leaks memory painting QSlider
- Closed