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

Image.sourceSize is incorrect after changing Image.source

XMLWordPrintable

    • e17a5398bf20b89834d4d6c7f4d9203f192b101f

      Expected behaviour:
      When sourceSize is not specified, it contains the native size of the image.

      Observed behaviour:
      Changing between the two images in the example leave sourceSize at 100x100 after the image100x100.png has been set.

      Notes:
      This also causes problems for drawing with the correct fillMode.

        1. image100x100.png
          image100x100.png
          0.4 kB
        2. image200x300.png
          image200x300.png
          0.9 kB
        3. test.qml
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bodson Yann Bodson (Inactive)
            jmcphers Justin McPherson (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes