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

QQuickImageProvider does not always preserve id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.1.1, 5.2.1
    • None

      For example, using the texture provider at examples/quick/textureprovider/ with the following code:

      Image {
          source: "image://etc/../images/myImage.pkm"
      }
      

      Will call requestTexture with an id of "images/myImage.pkm" (the "../" has been lost). Changing this code to:

      property string path: "image://etc/../images/myImage.pkm"
      source: path
      

      Will correctly call requestTexture with an id of "../images/myImage.pkm".

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

            Unassigned Unassigned
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes