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

Unable to restart app with background service on Android after closing via task switcher

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.7.0 RC
    • Fix Version/s: 5.6.2, 5.7.1
    • Component/s: QtPorts: Android
    • Labels:
      None
    • Environment:

      Qt 5.7 RC, Android 6.0.1

      Description

      Having a service (based on QtService) started or running with foreground status and killing the application UI via task switcher, the application UI cannot be restarted anymore. It gets stuck on the first activity view.

      Exiting the app via back key and relaunching works ok.

      Attached is quite minimal project to reproduce the issue.

      NOTE: The keyword here is "foreground". I.e. calling startForeground method in the service seems to be causing the issue.

        Attachments

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

          Activity

            People

            • Assignee:
              taipan BogDan Vatra
              Reporter:
              heikki Heikki Haveri
            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes