Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0 RC 1
-
None
-
a31dd2e995c91a5e3e429ad76afc90c0a2af3dcf
Description
QWindowsStyle considers QStyle::State_On as pressed, whereas QMacStyle uses the same state for transient scrollbars. Perhaps it would be best to avoid this confusions by having a dedicated state for transient scrollbars, but it's a bit late for that in Qt 5.0.0. Thus, to indicate transient scrollbars, QScrollBar::initStyleOption() should set QStyle::State_On only when the current style actually supports transient scrollbars.
Attachments
For Gerrit Dashboard: QTBUG-28523 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
42261,2 | QScrollBar::initStyleOption(): fix QStyle::State_On handling | stable | qt/qtbase | Status: MERGED | +2 | 0 |