qt6-bb10/src
Eskil Abrahamsen Blomfeldt 793417ce75 Fix gaps between lines of selection
When a font has fractional metrics, we could get visible gaps
between lines in a multi-line selection, if the bottom of the
rect was not aligned to the pixel grid. In Qt 5, this was
primarily an issue on macOS, but since making vertical metrics
consistent in f761ad3cd9, we
could also get this on other platforms, causing a regression
on these platforms.

The fix is to align the rect to the pixel grid.

[ChangeLog][Text] Fixed an issue where there would sometimes be
visible gaps in selections spanning multiple lines.

Pick-to: 6.2
Fixes: QTBUG-98372
Change-Id: I03cb1465602b6d78c60a0c764d920f7f092418a8
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-29 16:25:38 +01:00
..
3rdparty 3rdparty: Add touchpad gestures support to bundled xinput xcb module 2021-11-13 17:58:45 +03:00
android Docs: Move manifest and androiddeployqt docs to where code lives 2021-11-19 12:18:50 +00:00
concurrent Doc: Enable qdoc warning count limit 2021-10-21 19:10:52 +02:00
corelib QObject: Q_ASSERT the object type before calling a PMF 2021-11-27 21:38:22 -08:00
dbus Doc: Fix qdoc warnings 2021-11-11 11:34:49 +01:00
entrypoint QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
gui Fix gaps between lines of selection 2021-11-29 16:25:38 +01:00
network QObject: Q_ASSERT the object type before calling a PMF 2021-11-27 21:38:22 -08:00
opengl Doc: Enable qdoc warning count limit 2021-10-21 19:10:52 +02:00
openglwidgets Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
platformsupport evdevtouch: Fix loading screen name for output mapping 2021-10-12 12:52:01 +02:00
plugins wasm: fix mouse move and right click 2021-11-27 14:17:37 +10:00
printsupport Link printer plugins into user projects when using a static Qt 2021-11-19 18:48:07 +01:00
sql Doc: Enable qdoc warning count limit 2021-10-21 19:10:52 +02:00
testlib QTest: fix grammar in static_assert() 2021-11-27 01:25:09 +01:00
tools Long live Q_GADGET_EXPORT! 2021-11-27 01:25:10 +01:00
widgets Never handle scrollbars styled with box or border changes as transient 2021-11-29 16:02:28 +01:00
xml Remove leftovers for supporting SAX-based implenentation of QDomDocument 2021-11-26 22:42:40 +01:00
CMakeLists.txt Make it possible to disable the PrintSupport module 2021-02-09 09:17:21 +01:00