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

placeholder color is incorrect in QLineEdit/QTextEdit on Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.3
    • None
    • Redmi Note 9S - Android 15, LineageOS 22.2
      Samsung Flip 5 - Android 15 & 16, official firmware
    • Android
    • 2025wk42s3QtforAndroid

      I think they should have grayish color just like QPlainTextEdit.

      It's a trivial test app, used default android template

      int main(int argc, char* argv[])
      {
      	QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
      	QApplication a{argc, argv};
      
      	QWidget w;
      	w.show();
      
      	auto le = new QLineEdit{&w};
      	le->setPlaceholderText("QLineEdit");
      
      	auto ple = new QPlainTextEdit{&w};
      	ple->setPlaceholderText("QPlainTextEdit");
      
      	auto te = new QTextEdit{&w};
      	te->setPlaceholderText("QTextEdit");
      
      	QVBoxLayout l{&w};
      	l.addWidget(new QLabel{"label", &w});
      	l.addWidget(le);
      	l.addWidget(ple);
      	l.addWidget(te);
      	l.addStretch();
      
      	return a.exec();
      }
      

        1. android 2025-10-04 16.28.51.png
          45 kB
          Andrey Filipenkov
        2. android 2025-10-04 16.29.28.png
          44 kB
          Andrey Filipenkov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kambala Andrey Filipenkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes