diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2022-04-06 20:26:29 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2022-04-07 18:48:37 +0200 |
commit | f5174abec3720b7deec3157e482ca62c0d90fb19 (patch) | |
tree | 68a8d176a9f94bf5100c68f5fa9cee5be60e3733 /tests/auto/corelib/text/qlocale/tst_qlocale.cpp | |
parent | 9e0ba8b927d0a0b826ba7ff19b6e7d943d0d1b8e (diff) |
Fix backingstore fractional DPR glitches for widgets in child windows
For such widgets, QBackingStore::flush() takes both a region and an
offset. Both must to be DPR scaled to the native backingstore
coordinates. When the DPR is fractional, it can happen that the
rounding of both effectively accumulate into an off-by-one error.
Detect and adjust for this situation to avoid painting glitches.
Task-number: QTBUG-96223
Fixes: QTBUG-102366
Pick-to: 6.3 6.2 5.15
Change-Id: I9ccd4ee54660419a1db8c27358f1419de58ae932
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'tests/auto/corelib/text/qlocale/tst_qlocale.cpp')
0 files changed, 0 insertions, 0 deletions