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

Drawing errors on some Android devices

    XMLWordPrintable

Details

    • Android
    • 2025wk24s2QtforAndroid

    Description

      On some devices my app, which uses OpenGL backend on Android, shows drawing errors (see attached screenshot) when restarting the app. The app uses custom OpenGL calls (using QQuickWindow::beforeRendering and QQuickWindow::beforeRenderPassRecording).

      The problem occurs on these devices:

      • Moto G Pure with Android version 12
      • Galaxy Tab A7 lite running Android 14
      • Samsung A3, android version 12

      The problem happens with Qt 6.8.2 and 6.9 beta 3 but not with version 6.5.8.

      The problem does not happen on first app start or when cleaning the app's cache:

      • First app start -> OK
      • Consecutive app starts -> Drawing errors
      • Clear app cache (in the Android app settings) -> first start OK, consecutive starts drawing errors again.

      Attachments

        1. Screenshot_20250303-190236.png
          Screenshot_20250303-190236.png
          131 kB
        2. HowToPlayNextLaunch.png
          HowToPlayNextLaunch.png
          49 kB
        3. MainScreenFirstLaunch.png
          MainScreenFirstLaunch.png
          65 kB
        4. MainScreenNextLaunch.png
          MainScreenNextLaunch.png
          35 kB
        5. HowToPlayFirstLaunch.png
          HowToPlayFirstLaunch.png
          176 kB
        6. hangman_start_np1andr15.mp4
          13.45 MB
        7. deviceinfo.txt
          69 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-134496
          # Subject Branch Project Status CR V

          Activity

            People

              qtandroidteam Qt Android Team
              Harald Meyer Harald Meyer
              Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change