Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.13.1
-
None
Description
Loading the same image through different urls results in different behavior.
QML Image source:
- "/somefolder/image@2x.png" -> devicePixelRatio = 2.0
- "http://localhost:7000/image@2x.png" -> devicePixelRatio = 1.0
- "http://localhost:7000/image%402x.png" -> devicePixelRatio = 1.0
All variants should result in the devicePixelRatio being 2.0. The URL-encoded variant should also be respected since the "@" symbol is not allowed in the path.
Attachments
Issue Links
- relates to
-
QTBUG-77248 QML Image component doesn't apply devicePixelRatio for sourceSize for PNG sources
-
- Reported
-
-
QTBUG-80177 sourceSize documentation is not accurate for dpi-scaled screens
-
- Reported
-