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

Call the "destroy()" function of element which contains Scene3D and never painted will cause crash.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.13.1
    • Qt3D
    • None
    • Windows

    Description

      First I change the parent of  an unvisible element Rectangle1, form Window A to WindowB.

      Then I create a child element for Rectangle1 which called Rectangle2 contains Scene3D

      If I call "destroy()"function of Rectangle2 before touched any elements that would trigger windowB repaint,the program will crash. 

      If I interacted with a button or something, in my case hover the mouse to a button make it change color, then call "destroy()"function of Rectangle2,the program work fine. 

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            je0000 Jadyn Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes