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.