• Icon: Technical task Technical task
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • QPA: Android
    • None
    • Android
    • 2025wk02s3FOQtforAndroid, 2025wk04s3FOQtforAndroid, 2025wk06s1QtforAndroid, 2025wk08s1QtforAndroid, 2025wk16s1QtforAndroid, 2025wk22s1-2QtforAndroid, 2025wk28s2QtforAndroid, 2025wk38s2QtforAndroid
    • 3305eb10d (dev)

      It looks like any changes in app sizes (or screen) or orientation as seen in QTBUG-132720, QTBUG-132718 and QTBUG-132717, there's always a frame or few frames where the app has a black screen. That seems to be happening whenever QtSurface.onSurfaceChanged(). That call seems to be re-assigning the surface object whenever there's a change and that's probably what's causing this issue. Initially it looks like that shouldn't be done and assigning the surface object should only be done when it's created instead.

      It's worth noting that TextureView doesn't have this black screen issue.

      Make sure this still works for https://github.com/qt/qtdoc/tree/6.9/examples/demos/windowembedding.

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

            assam Assam Boudjelthia
            assam Assam Boudjelthia
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes