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

Android: Send proper events when app is suspended/resumed

XMLWordPrintable

    • Android
    • 96f0ff4f28c92b529a4d79afa669917734ec1192

      When the app is suspended by Android, we get a call to QAndroidPlatformIntegration::surfaceChanged().
      Then the surface disappears. We need to tell the app to stop rendering, and to resume rendering when we are restored.

      Gunnar said on IRC:
      QWindow::exposeEvent() + isExposed() is the one that can potentially wipe the entire rendering stack
      and it would also imply QQuickWindow::setPersistentSceneGraph(false) and QQuickWindow::setPersistentOpenGL(false) as the surface will disappear

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

            taipan BogDan Vatra
            tvete Paul Olav Tvete
            Votes:
            8 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes