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

Wrong application states reported when iOS notification panel is opened.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • None
    • 5.15.7, 6.5.0 FF
    • QPA
    • iOS 14, iOS 16.1
    • iOS/tvOS/watchOS

      When the notification panel is shown, the app state changes in a strange way.
      It goes back and forth InActive and Active status.

      Notification panel

      - ApplicationActive
      - ApplicationInActive // When the panel is open
      - ApplicationActive 
      - ApplicationInActive 
      - ApplicationActive // When the panel is closed
      

      This does not happen with Control Panel.
      Control panel

      - ApplicationActive
      - ApplicationInActive // When the panel is shown
      - ApplicationActive // When the panel is closed
      

      It can be observed by adding following code

      connect(qGuiApp, &QGuiApplication;::applicationStateChanged, this, [=](const Qt::ApplicationState state) {
      qDebug() << __func__ << " state: " << state;
      

      The sample project qtbug99118.zip is attached.

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

            vestbo Tor Arne Vestbø
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes