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

Drawing errors on some Android devices

XMLWordPrintable

    • Android
    • a589ef5cf (dev), cdb2b134b (6.10), e39fa57f6 (6.9), 71cbb63f8 (tqtc/lts-6.8)
    • 2025wk28s2QtforAndroid

      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.

        1. deviceinfo.txt
          69 kB
        2. getprop-pixels.zip
          11 kB
        3. hangman_start_np1andr15.mp4
          13.45 MB
        4. HowToPlayFirstLaunch.png
          HowToPlayFirstLaunch.png
          176 kB
        5. HowToPlayNextLaunch.png
          HowToPlayNextLaunch.png
          49 kB
        6. MainScreenFirstLaunch.png
          MainScreenFirstLaunch.png
          65 kB
        7. MainScreenNextLaunch.png
          MainScreenNextLaunch.png
          35 kB
        8. Screenshot_20250303-190236.png
          Screenshot_20250303-190236.png
          131 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes