Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.1.0 Beta 1, 5.2.0 RC1, 5.2.0
-
-
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
- replaces
-
QTBUG-39134 QML application crashes when goes to background
-
- Closed
-
-
QTBUG-37972 Using BusyIndicator while going to background lead to "E/[EGL-ERROR]"
-
- Closed
-
For Gerrit Dashboard: QTBUG-29069 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
83692,11 | Android: Release all windows when the application is suspended. | stable | qt/qtbase | Status: ABANDONED | +2 | 0 |
87996,1 | Android: Release all windows when the application is suspended. | 5.3 | qt/qtbase | Status: ABANDONED | -1 | 0 |
90266,2 | Android: Release all windows when the application is suspended. | dev | qt/qtbase | Status: MERGED | +2 | 0 |