qt5base-lts/src/gui
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
..
accessible gui: Fix typos in documentation 2021-10-12 12:52:02 +02:00
animation Remove the qmake project files 2021-01-07 15:32:28 +01:00
doc Doc: Enforce zero warnings for QtCore, QtGui 2021-10-26 11:54:41 +00:00
image QImageReader: check allocation limit for minimum 32 bpp 2021-11-22 14:29:20 +01:00
itemmodels Fix return type documentation of QFileSystemModel::fileName() 2021-11-15 13:46:46 +00:00
kernel gui: add QInputDevice::seatNames() 2021-11-28 13:15:00 +02:00
math3d gui: Fix typos in documentation 2021-10-12 12:52:02 +02:00
opengl Revert "Add support for EGL_EXT_platform_xcb" 2021-11-02 14:05:27 +02:00
painting Clean up line clipping code in rasterizer 2021-11-19 12:40:10 +01:00
platform wasm: Move Blob creation code to qstdweb 2021-11-27 01:13:12 +00:00
rhi rhi: metal: Ignore baseInstance if not supported 2021-11-26 14:22:05 +01:00
text Fix gaps between lines of selection 2021-11-29 16:25:38 +01:00
util QLayoutPolicy: un-export the class 2021-11-27 17:22:57 +01:00
vulkan codechecker: Add assert for implicit condition 2021-06-18 10:37:17 +02:00
CMakeLists.txt Remove qshadergraph files 2021-10-05 17:49:51 +02:00
configure.cmake CMake: Enable -bundled-xcb-xinput by default 2021-11-18 02:32:58 +02:00
qt_cmdline.cmake Remove the deprecated -qpa-platform-guard argument 2020-08-23 11:05:14 +02:00
QtGui.dynlist
qtgui.tracepoints Fix compilation error when LTTng enabled 2021-03-25 15:37:55 +09:00