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

Drawing errors on some Android devices

    XMLWordPrintable

Details

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

    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
          131 kB
          Harald Meyer
        2. HowToPlayNextLaunch.png
          49 kB
          Simon Briere
        3. MainScreenFirstLaunch.png
          65 kB
          Simon Briere
        4. MainScreenNextLaunch.png
          35 kB
          Simon Briere
        5. HowToPlayFirstLaunch.png
          176 kB
          Simon Briere
        6. hangman_start_np1andr15.mp4
          13.45 MB
          Rami Potinkara
        7. deviceinfo.txt
          69 kB
          Regis Duflaut
        8. getprop-pixels.zip
          11 kB
          Rami Potinkara

        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:
              13 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes