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

Android: Send proper events when app is suspended/resumed

    XMLWordPrintable

Details

    • Android
    • 96f0ff4f28c92b529a4d79afa669917734ec1192

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes