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

[REG] The color of QLineEdit and QPlainTextEdit placeholder text is not grayed-out if stylesheet was applied

    XMLWordPrintable

    Details

    • Platform/s:
      macOS, Windows

      Description

      If you set text color of a QLineEdit with stylesheet, for example:

      ui->lineEdit->setPlaceHolderText("placeholder");

      ui->lineEdit->setStyleSheet("QLineEdit {color:black}");

      The placeholder text is not grayed out. Instead it is displayed black. This is a regression. It does not happen with Qt 5.15.2, but happens in Qt 5.15.3. Also tried Qt 5.15.4 preview version, it didn't fix it.

      This is so disappointing  I bought a commercial license so that I can use Qt 5.15.3 to fix an annoying bug. Now I got an even more annoying bug... money well spent

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              wtbuck Robert Wong
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes