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

[REG 5.3.2 -> 5.4] Windows: Text is unreadable in QComboBox which has focus

    XMLWordPrintable

Details

    • 78cdb6b4b1c8c6213e967be56767d7dadd2bf8bf (qtbase/5.4, 5.11.2014, 5.4)

    Description

      Build and run this simple program:

      #include <QApplication>
      #include <QComboBox>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QComboBox cb;
          cb.show();
          cb.addItem("This looks ugly");
      
          return a.exec();
      }
      

      The text in the combo box is nearly impossible to read:

      This seems to happen whenever a combo box has focus.

      Combo boxes should be clearly readable. In Qt 5.3.2, this worked correctly:

      Attachments

        1. 532.png
          532.png
          5 kB
        2. 54.png
          54.png
          5 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes