Hi !
Sometimes (well, often) I get a black screen on resuming the app (app is still alive, sending heartbeat to server)
I'm running on a nexus 4
Here a the logcat, any idea ?
(I've tried the singleInstance trick but no luck)
I/ActivityManager( 603): START u0 {flg=0x24000000 cmp=org.REMOVEDt/org.qtproject.qt5.android.bindings.QtActivity bnds=[0,102][768,230]} from pid -1
W/ActivityManager( 603): startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { flg=0x24000000 cmp=org.REMOVEDt/org.qtproject.qt5.android.bindings.QtActivity bnds=[0,102][768,230] }
W/Qt ( 6613): ../src/androidjnimain.cpp:650 (void updateWindow(JNIEnv*, jobject)): updateWindow: Dirty screen not implemented yet on OpenGL
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:111 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0x736af368
W/Qt ( 6613):
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:111 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0x736af368
W/Qt ( 6613):
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:165 (virtual void QEGLPlatformContext::swapBuffers(QPlatformSurface*)): QEGLPlatformContext::swapBuffers(): eglError: 12301, this: 0x736af368
W/Qt ( 6613):
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:111 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0x736af368
W/Qt ( 6613):
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:111 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0x736af368
W/Qt ( 6613):
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:165 (virtual void QEGLPlatformContext::swapBuffers(QPlatformSurface*)): QEGLPlatformContext::swapBuffers(): eglError: 12301, this: 0x736af368
W/Qt ( 6613):
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:111 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0x736af368
W/Qt ( 6613):
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:111 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0x736af368
W/Qt ( 6613):
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:165 (virtual void QEGLPlatformContext::swapBuffers(QPlatformSurface*)): QEGLPlatformContext::swapBuffers(): eglError: 12301, this: 0x736af368
W/Qt ( 6613):
I/WindowManager( 603): Screenshot Window{41ffdd88 u0 org.REMOVED/org.qtproject.qt5.android.bindings.QtActivity} was all black! mSurfaceLayer=21050 minLayer=21035 maxLayer=21050
(... other launch ...)
W/Adreno200-EGL( 6613): <qeglDrvAPI_eglMakeCurrent:2762>: EGL_BAD_SURFACE
E/libEGL ( 6613): eglMakeCurrent:671 error 300d (EGL_BAD_SURFACE)
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:111 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0x736af368
W/Qt ( 6613):
E/libEGL ( 6613): eglSwapBuffers:949 error 300d (EGL_BAD_SURFACE)
W/Qt ( 6613): eglconvenience/qeglplatformcontext.cpp:165 (virtual void QEGLPlatformContext::swapBuffers(QPlatformSurface*)): QEGLPlatformContext::swapBuffers(): eglError: 12301, this: 0x736af368