Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
4.6.2
-
None
-
Mac OS X 10.5.8, Qt/Cocoa 4.6
Description
On Mac OS X 10.5.8, Qt/Cocoa 4.62, separators within a QComboBox are drawn with an incorrect background.
The attached app demonstrates the problem, and has a screenshot comparing a QComboBox to a native NSPopUpButton.
The incorrect background seems to be caused by QMacStyle::drawControl, which draws a CE_MenuItem using the kThemeMenuItemPopUpBackground bit.
If the kThemeMenuItemPopUpBackground bit is not set, the separator matches the appearance of a NSPopUpButton.