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

iOS: QGuiApplication in background gets state=Qt::ApplicationSuspended

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12.4
    • GUI: Window management
    • None
    • iOS/tvOS/watchOS

      I have a QML/C++ application that runs in background on iOS (using UIBackgronudMode=audio).

      However, when I connect (in QML) to the Qt.application.stateChanged signal, I see that the following state changes happen when going to background:

      • from ApplicationActive -> ApplicationInactive
      • from ApplicationInactive -> ApplicationSuspended

      while according to the documentation, the state should change to ApplicationHidden

       

      Is there another way to detect the difference between Hidden and Suspended? 

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

            tpochep Timur Pocheptsov
            vdaele vdaele
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes