qt5base-lts/tests/auto
Eirik Aavitsland df0b70eece StyleSheetStyle: Fix color of placeholder texts in text edits
Prior to 5.12, the placeholder text color was hardcoded to be the same
as the text color, but with an alpha of 128, i.e. semi-transparent. In
5.12, it instead got its own ColorRole in QPalette. So behavior
changed (In some cases in 5.12 and later, consistently from Qt 6):
placeholder texts no longer got a "light" (semi-transparent) version
of the css-styled color, but just the default gray/semi-transparent
black. That problem was reported as QTBUG-89815. However, the fix for
that bug did not apply the semi-transparency, but only used the same
color as the text. That caused a confusing visual expression, as
actual and placeholder text would look the same. This commit fixes
that.

The problem was made worse since there is no way to specify the
placeholder text color from css, i.e. to style it independently. A
follow up commit will aim to add that.

Fixes: QTBUG-92199
Task-number: QTBUG-93009
Pick-to: 6.4 6.2 5.15
Change-Id: I9e6698d34eba91cbf65c4da07aa5ac6d9f96a9ed
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-09-27 20:22:02 +02:00
..
bic/data Add BiC data for the new way to do BiC testing 2022-05-12 13:33:41 +03:00
cmake Replace the syncqt.pl script with syncqt tool 2022-09-27 13:12:11 +02:00
concurrent Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
corelib QDebug: Support standard strings and string views directly 2022-09-27 14:12:11 +03:00
dbus Port tests away from using q{Set}GlobalQHashSeed 2022-08-26 14:15:24 +02:00
gui Fix setScaledClipRect autotest for reading SVG format 2022-09-27 13:12:11 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network QNetworkReply: honor legacy behavior of setting Accept-Encoding 2022-09-22 15:34:51 +00:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other tests: improve tst_gestures on GNOME 2022-09-19 14:39:28 +00:00
printsupport tests: Fix tst_qprinterinfo for CUPS printer instances 2022-08-24 14:20:14 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql Rest of QtBase tests: port away from deprecated methods 2022-08-30 22:46:35 +02:00
testlib Skip early return from test loops during cleanup() 2022-09-22 17:34:51 +02:00
tools moc: Add basic support for nested inline namespaces 2022-09-26 21:14:39 +02:00
wasm Fix QWasmWindowStack::topWindow when the stack is empty 2022-09-12 20:09:03 +02:00
widgets StyleSheetStyle: Fix color of placeholder texts in text edits 2022-09-27 20:22:02 +02:00
xml tst_QDom: replace a final u"..."_qs (deprecated) with u"..."_s 2022-09-22 17:34:51 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00