Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
None
-
63fb30eb29c26cd7ba0d9133610acb85cad83775
Description
When setting as the source of an Image a PNG for which only exists a high dpi version (@2x suffix), Image.width and Image.height should be set to the width/height of the PNG divided by the devicePixelRatio set on the QImage backing the Image.
Edit: In addition, the correct image should be (re)loaded on screen changes if the scale factor changes.
Attachments
For Gerrit Dashboard: QTBUG-32862 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
63291,2 | Correct geometry for "@2x" images. | stable | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
79179,2 | Implement high-dpi "@2x" image handling. | stable | qt/qtdeclarative | Status: MERGED | +2 | 0 |