Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79544

QML Image component doesn't apply devicePixelRatio for network sources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.13.1
    • None
    • All

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            gri Christoph Keller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes