Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-9987

QComboBox separators drawn with incorrect background

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 4.6.2
    • GUI: Look'n'Feel
    • 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.

      Attachments

        1. separator.zip
          32 kB
        2. separator.png
          separator.png
          31 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            refnum Dair Grant
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes