Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Duplicate
-
Affects Version/s: 5.15.2
-
Fix Version/s: None
-
Component/s: Quick: Core Declarative QML
-
Labels:None
-
Platform/s:
Description
When the "sourceSize" property not set, and current window devicePixelRatio > 1.0, and the source image support hidpi.
If
My title
devicePixelRatio = 2.0
image file name = "test@2x.png"
image width = 200
In this case, the sourceSize.width read should be 100, but is 200 now.
test codes:
test_image.zip
Attachments
Issue Links
- duplicates
-
QTBUG-58416 QtQuick Image: SVG Images are not properly scaled with High DPI Scaling
-
- Closed
-
- relates to
-
QTBUG-44863 Scaled SVG degraded quality in QML
-
- Closed
-
For Gerrit Dashboard: QTBUG-89734 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
328107,1 | fix: the 'sourceSize' property is wrong | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |