path: root/tests/auto/corelib/tools
diff options
authorEskil Abrahamsen Blomfeldt <>2021-11-24 11:58:02 +0100
committerEskil Abrahamsen Blomfeldt <>2021-11-29 16:25:38 +0100
commit793417ce75bef47dd42e16a6cf9bf081db4238a5 (patch)
tree62a1675ee2789f993c2985afd9bf175637f7fdcf /tests/auto/corelib/tools
parent56da533b45e2785e8fd54ef6fcddb7b973c665bf (diff)
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 f761ad3cd9ad1252f24b76ae413298dc7bed8af3, 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 <> Reviewed-by: Volker Hilsheimer <> Reviewed-by: Qt CI Bot <>
Diffstat (limited to 'tests/auto/corelib/tools')
0 files changed, 0 insertions, 0 deletions