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

sourceSize property has different behaviour between Image and AnimatedImage

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P5: Not important P5: Not important
    • 6.6.0
    • 5.7.0
    • None
    • 5c496ad95 (dev)

      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.

        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
            wgoltz william goltz
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes