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

QQuickWindow::sceneGraphInvalidated() signal is not always emitted

    XMLWordPrintable

Details

    Description

      QQuickWindow::sceneGraphInvalidated() signal is not always emitted because if the render context is deleted after the window has been deleted then it is not going to be emitted. This is happening on Windows at least due to the fact that the render context is only deleted when the application does the final cleanup which is after the window itself has been deleted.

      This is reproducible in the openglunderqml example which has a slot connected to sceneGraphInvalidated() and this is never called.

      Attachments

        1. qtbug42620_repro.diff
          2 kB
          Friedemann Kleint

        Activity

          People

            janichol Andy Nichols
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: