Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
5.13.1
-
None
-
-
19f29802bf7daafacd0fd824c2a1349e80eac536 (qt/qtbase/5.15)
Description
Given some fractional scaling, the clipping that is done internally for the paintEvent to the passed QRegion/QRect seems to not handle fractional scaled cases well.
For Hi-DPI and scalings like 1.5 I get rendering artifacts in e.g. Konsole because at the "borders" of the clipped regions pixels are missed to be drawn.
More details see
and
I traced that back to the internal transformation to device pixels, I think here some rounding happens into the wrong direction leading to too small clipping regions.
This is similar in the effect like https://bugreports.qt.io/browse/QTBUG-78962
but I see no workaround for this, as this is an internal behavior.
Attachments
Issue Links
- relates to
-
QTBUG-82601 QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough sometimes causes 1 pixel missmatch between painted area and flushed area.
- Closed
For Gerrit Dashboard: QTBUG-78963 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
278047,4 | Fix: QPainter off-by-one clipping for some non-integer scalings | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |