Details
-
Technical task
-
Resolution: Unresolved
-
P1: Critical
-
None
-
None
-
-
2025wk02s3FOQtforAndroid, 2025wk04s3FOQtforAndroid
Description
The issue with this case is that at the startup (or resume) of the app there's a frame (or few frames) where the screen goes from the default background (gray) to black just before showing the Qt content. From what I've seen this is happening right when calling QAndroidPlatformWindow::onSurfaceChanged at the start of the app. That call comes from QtSurface.onSurfaceChanged().
This issue can be replicated with any Qt app, here I'm using QML. Use fullscreen-transition-flicker-bug.zip for reproduction.
This looks like it has the same root cause as QTBUG-132721 and as noted there, suing QtTextureView doesn't have the black screen issue.
Other bugs that are similar or duplicate to this are:
QTBUG-58388QTBUG-49403QTBUG-45349(test with the example [^qtbug45349.zip])QTBUG-57372QTBUG-45861
Outcome
The outcome of this task is to have apps start and resume without any visible flickering or drawing artifacts.
Make sure this still works for https://github.com/qt/qtdoc/tree/6.9/examples/demos/windowembedding.
Attachments
Issue Links
- replaces
-
QTBUG-45349 QML Window with Flickable, active the app first time when scroll Flickable the screen will flicker
- Closed
-
QTBUG-45861 QML FullScreen with Flickable if active the app, the window will flick
- Closed
-
QTBUG-49403 Screen flickers on the app after waking up from screen saver in Android
- Closed
-
QTBUG-58388 Screen flicking on Android phones with software navigation
- Closed
-
QTBUG-57372 qml app with transparent background on Android start with black screen first
- Closed