Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
4.6.2, 4.8.6, 5.3.2
-
None
-
Windows 7 x64
-
4bee9cdc0ac4bbee7f061e8f6050d704032f6d0f (qt/qtbase/dev) b455e05f41c89ff3387973c8feac8463b9873d8d (qt/qtbase/6.2) 03fdef133e213677c542c33ae372f7ca2631e61f (qt/qtbase/6.2.2), 4db9fdf58 (dev), 531bb7785 (6.5)
Description
At the moment, if one calls QSlider::initStyleOption it doesn't fill activeSubControls, although it does that before paint inside paintEvent function.
Is there any specific reason not to do so?
I've changed this logic a bit as being shown in the attached patch file and it works fine.
Please let me know if this is okay to change this function like this.
P.S I came across this issue during custom paintEvent implementation there I was needed to know whenever slider handle is the active control.
Attachments
Issue Links
- duplicates
-
QTBUG-98093 QSlider is broken in MacOS Monterey
-
- Closed
-
For Gerrit Dashboard: QTBUG-41473 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
101683,2 | Fix QSlider::initStyleOption doesn't fill QStyleOptionSlider.activeSubControls field | 5.4 | qt/qtbase | Status: ABANDONED | 0 | 0 |