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

sourceSize property has different behaviour between Image and AnimatedImage

    XMLWordPrintable

Details

    • 5c496ad95 (dev)

    Description

      In QML, using Image.sourceSize limits the size of a newly loaded image. I found I needed this to properly load large images (my limit is 8192x8192).

      Conversely, AnimatedImage.sourceSize is read only, it just contains the size of the last loaded image and cannot be used to limit the size of a new image.

      Thus I cannot simply replace an Image with an AnimatedImage and gain the ability to view animations, without losing the ability to load large single images (almost) correctly.

      With more consistent behavior, using AnimatedImage would be a trivial replacement for Image.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              wgoltz william goltz
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes