qt6-bb10/tests/auto/gui
Eskil Abrahamsen Blomfeldt ade2df4c4b Relayout QStaticText when dpi changes
If the cached font has a different DPI than the one used in
QPainter, we need to treat this the same as if other font
properties have changed and redo the layout.

This happened when running the QStaticText test on Wayland,
because the default dpi was 100 and the QPixmap we ended up
drawing to was 96. This caused the pixel size of the font to
be calculated differently when doing drawText() (using 96 dpi)
and drawStaticText() (using the cached 100 dpi).

Pick-to: 6.4
Fixes: QTBUG-100982
Change-Id: Ie4270341bb8a64b6458eb67ba460a282c65dc26b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-07-14 14:09:33 +02:00
..
image Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
itemmodels Use QAbstractItemModelTester or QFileSystemModel 2022-05-18 12:58:06 +02:00
kernel Do not use QExposedEvent::region() in internal code 2022-07-13 16:45:00 +02:00
math3d Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
painting unblacklist passing tests 2022 2022-06-23 01:36:01 +02:00
platform Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengl Avoid including qopenglfunctions header files if Qt is built with GLES2 2022-06-28 10:52:23 +02:00
qopenglconfig Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvulkan Work around lavapipe bug in tst_qvulkan 2022-06-16 17:29:36 +00:00
rhi rhi: Clean up some inconsistencies 2022-07-12 17:16:37 +02:00
text Relayout QStaticText when dpi changes 2022-07-14 14:09:33 +02:00
util Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00