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

QML Image retains backing QImage perpetually

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.0
    • Quick: Other
    • None

    Description

      The QML Image component retains its backing QImage in memory forever, using more than it needs to in many cases. For my application, this uses upwards of 30mb for images that do not need to be cached.

      I suggest creating a separate opt-in property on Image, allowing the backing QImage to be released (and reloaded if required, ideally never), instead of merging this into the cache property with some kind of heuristic.

      Attachments

        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
            outfoxxed outfoxxed -
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes