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

QQuickImageProvider does not always preserve id

    XMLWordPrintable

Details

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

    Description

      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".

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes