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

QML application stops painting screen after minimized and restored when using "android.app.background_running=true"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.5.0 Beta
    • Component/s: QPA
    • Platform/s:
      Android
    • Commits:
      I8934e94af038b4ecf116d93aea223ad040b0bff1

      Description

      QML application stops painting screen after minimized and restored (paused/resumed in Android terms) when using "android.app.background_running=true". The screen just stays black.

      This is a total blocker as UI thread should not be paused in our app (and in general cannot be paused in any app which uses other threads which might invoke anything from UI thread). In additional to possible misbehaviour it causes app lock up when it's resumed because it has to process huge queue of messages.

      This guy described exactly the same problem:
      https://forum.qt.io/topic/51956/running-qt-5-4-on-android-in-the-background

      UPDATE:

      The problem does not reproduce on Nexus 5, Nexus 10
      Reproduces on SGS 4, Xoom

        Attachments

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

          Activity

            People

            • Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              thelivingone Sergey Galin
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes