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

Dynamically removed Quick items mem unreleased

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.0.0 RC
    • 6.0.0
    • Quick: 3D
    • None
    • ea4a575beface6d75a1613e2d610c0b7f719161a (qt/qtquick3d/dev)
    • Qt Quick 3D - Week 43/44

    Description

      Consider Quick3D application that dynamically creates component (createObject()) and removes it (destroy()). If this component contains Quick elements (Text, Rectangle), when closing the application getting QRhi resource warnings:

      QRhi 0x238957b4180 going down with 3 unreleased resources that own native graphics objects. This is not nice.
      Buffer resource 0x238a49bf320 ()
      Buffer resource 0x238a49beb90 ()
      Buffer resource 0x238a49be820 ()

      This can be tested e.g. with dynamiccreation example adding "Rectangle { width: 100; height: 100 }" into WeirdShape.qml

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes