Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.2
-
None
-
-
73119e27b31e7d5b48e1cd3fcbe2f6edf049da5d (qt/qtbase/dev) d946d4129f64eda0c2e2ba4cfb3992164a38c1d6 (qt/qtbase/6.2) 433a9c0ae788560e67587ab56e613bda9933851f (qt/tqtc-qtbase/5.15)
Description
the attached MWE shows that QPainter::fillRect with a QBrush that contains a DPR > 1 pixmap is broken. Oddly enough, using QPainter::drawRect works fine...
The attached screenshot shows that using the brush on a label or with drawRect looks fine (no blocky scaling artifacts). But using it with fillRect is much larger and blocky
Attachments
For Gerrit Dashboard: QTBUG-89101 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
376878,2 | Handle DPR in QPainter's drawing methods taking a brush parameter | dev | qt/qtbase | Status: MERGED | +2 | 0 |
377022,2 | Handle DPR in QPainter's drawing methods taking a brush parameter | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
377067,3 | Handle DPR in QPainter's drawing methods taking a brush parameter | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |