qt6-bb10/tests/auto
Andreas Buhr aeb5165cb6 Fix tst_qlineedit for offscreen rendering and tiling window managers
tst_QLineEdit::QTBUG13520_textNotVisible checks that text is visible
if a QLineEdit is set to Qt::AlignRight. To do that, it writes
some text into a line edit and checks afterwards that the first
character is in the left half of the window. This fails if the window
is larger than twice the length of the text used and thus might fail
in multiple situations where Qt is not in full control over the size
of the windows created, as is the case with tiling window managers.
This patch changes the test to not check for the first character in
the left half of the window, but instead check for the first character
be approximately at the expected position.

Pick-to: 6.0
Change-Id: I18f6de356ea20f4744f3a58cd2b1d76f6a9545a4
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2020-12-08 15:18:41 +01:00
..
cmake CMake: Change generated resources naming 2020-11-24 21:51:29 +01:00
concurrent QtConcurrent: filter/map reduction without default ctor 2020-12-04 15:36:50 +01:00
corelib QCborValue & QCborStreamReader tests: fix warning about %llx on 32-bit 2020-12-07 22:54:43 +00:00
dbus QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
gui tests: blacklist tst_QGlyphRun::drawRightToLeft() on openSUSE 2020-12-08 09:35:21 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network Add SameSite API to QNetworkCookie 2020-12-07 22:38:37 +01:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Inline access to the QBindingStorage 2020-11-30 23:02:27 +00:00
printsupport Fit tst_qprinterinfo in case there are printers in local network 2020-11-21 06:11:37 +01:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql Cleanup remaining QVariant::Type uses in Qt Sql 2020-10-17 12:01:54 +02:00
testlib Android: exclude faulty tst_selftests 2020-11-25 23:08:09 +02:00
tools uic/rcc: Use QT_VERSION_MAJOR for major version 2020-12-07 11:37:35 +01:00
widgets Fix tst_qlineedit for offscreen rendering and tiling window managers 2020-12-08 15:18:41 +01:00
xml QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
auto.pro Don't error out when configuring Qt on a headless system 2020-09-26 14:36:13 +02:00
network-settings.h Network self-test: make it work with docker/containers 2020-11-17 19:56:06 +01:00