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

Corrupted qml rendering on some Android PowerVR devices after the app is killed

    XMLWordPrintable

Details

    • Android

    Description

      On devices using PowerVR GPU (tested on Redmi 9A and Moto e7),  there is a bug with the qml UI being corrupted, after the app get killed.

      To reproduce it, I used a basic qml app with this code:

      import QtQuick
      import QtQuick.Controls
      
      ApplicationWindow {
        visible: true
      
        Rectangle {
          color: 'blue'
          anchors.left: parent.left
          anchors.right: parent.right
          anchors.bottom: parent.bottom
          height: 200
          radius: 24
        }
      }
      

      Then I run on my phone, exit the application (with the middle button in android bar), then kill it (right button and I swipe up the app).

      After this, I reopen the application a few times, and at some point the UI becomes scrambled. I attach a screenshot of what I see. The actual effect seems to vary, and sometimes it is hard to see. I used the rounded rectangle since that is where it seems to fail the most, with this red/green texture.

      If I clear the cache the application works again until I kill it again.

      A workaround is to disable the shader cache.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              guillaume-chereau guillaume-chereau
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes