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

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

      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:

        1. 532.png
          5 kB
          Robert Löhning
        2. 54.png
          5 kB
          Robert Löhning
        For Gerrit Dashboard: QTBUG-42390
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes