Qt 6.3: stylesheets with QLineEdit makes the placeholder color same as text
-
Hi,
That looks like a possible bug.
Can you provide a minimal compilable example that shows this behaviour ?
-
Hi,
That looks like a possible bug.
Can you provide a minimal compilable example that shows this behaviour ?
wrote on 22 May 2022, 20:12 last edited by Mitsuriou@SGaist Hello, here is a minimal example, made with QtCreator: Google Drive link.
-
Hi,
That looks like a possible bug.
Can you provide a minimal compilable example that shows this behaviour ?
wrote on 25 May 2022, 23:21 last edited by@SGaist said in Qt 6.3: stylesheets with QLineEdit makes the placeholder color same as text:
Hi,
That looks like a possible bug.
Can you provide a minimal compilable example that shows this behaviour ?
Hello again. Sorry for the double post, but have you had time to check my example project yet?
-
Not yet, will do ASAP
-
I can confirm the behaviour change between Qt 5 and Qt 6 on Linux.
You should check the bug report system to see if it's something known. If not, please consider opening a new report providing your example.
-
I can confirm the behaviour change between Qt 5 and Qt 6 on Linux.
You should check the bug report system to see if it's something known. If not, please consider opening a new report providing your example.
wrote on 30 May 2022, 17:10 last edited by@SGaist Hello,
Thanks for the confirmation!I just checked on the bug report system, and it seems that is is a known bug since the early development of Qt 6 :/
There are already 4 or 5 tickets talking about this issue or related things (QSS / QPalette).
All the tickets are in low priority, I'm a little bit sad about that, but I guess I will just have to wait more to use Qt 6, and stick with 5.15.2 for a while ^^ -
Can you link what you found ?
Is there any of these that related to your issue ? -
wrote on 31 May 2022, 16:22 last edited by
Hello,
I've managed to find the tickets through this request:
https://bugreports.qt.io/browse/QTBUG-92199?jql=text ~ "placeholder stylesheet" -
Thanks !
-
wrote on 31 Jul 2022, 15:31 last edited by
For those of you who would find this post and are looking for a solution, I used this workaround, on Qt 6.3.1 :
https://bugreports.qt.io/browse/QTBUG-95297