Stopped apps don't restart when launched from another app

Bug #1368101 reported by Alan Pope 🍺🐧🐱 🦄
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
Fix Released
Critical
Gerry Boland
url-dispatcher (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

Steps to reproduce:-

1) Open twitter webapp and sign in
2) Open browser
3) Open some other apps to ensure browser gets cleaned up by app lifecycle
4) Switch to twitter
5) Click on a link in a tweet

Expected behaviour:-

* Clicked link opens in browser

Actual behaviour:-

* Nothing

Note, you can swipe back to browser to "wake" it up from suspend, then back to twitter, click the link and it _will_ switch back to browser and open the link.

Related branches

Revision history for this message
Michał Sawicz (saviq) wrote :

This might involve url-dispatcher, too (like focusing → resuming before sending the url over dbus).

summary: - Suspended apps don't restart when launched from another app
+ Stopped apps don't restart when launched from another app
Changed in qtmir (Ubuntu):
assignee: nobody → Gerry Boland (gerboland)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtmir (Ubuntu):
status: New → Confirmed
Changed in unity8 (Ubuntu):
status: New → Confirmed
Changed in url-dispatcher (Ubuntu):
status: New → Confirmed
kevin gunn (kgunn72)
Changed in qtmir (Ubuntu):
importance: Undecided → Critical
Changed in qtmir:
importance: Undecided → Critical
assignee: nobody → Gerry Boland (gerboland)
status: New → Confirmed
Changed in unity8 (Ubuntu):
status: Confirmed → Opinion
Changed in url-dispatcher (Ubuntu):
status: Confirmed → Opinion
tags: added: rtm14 touch-2014-10-16
Revision history for this message
Joe Odukoya (jodukoya) wrote :

Kevin -
Can you explain why the status for Unity8 and URL-dispatcher has been changed to 'Opinion'.
Note: This is not a challenge - just trying to understand.

Revision history for this message
kevin gunn (kgunn72) wrote :

@Joe - using "opinion" in order to leave a project in the loop, just in case. however, at some point when we are fairly certain the bug fix is totally isolated to a particular package, we can just remove the project/package from the "effected list"
and this helps a little with filtering now too since "opinion" is something i filter out locally.
hope that helps.

kevin gunn (kgunn72)
no longer affects: unity8 (Ubuntu)
Revision history for this message
Gerry Boland (gerboland) wrote :

qtmir.applications: ApplicationManager::onProcessStarting - appId= "webbrowser-app"
ApplicationManager::onProcessStarting application already found with appId "webbrowser-app"
qtmir.mir: SessionAuthorizer::connection_is_allowed - this= SessionAuthorizer(0x1494bec) pid= 24699
qtmir.applications: ApplicationManager::authorizeSession - pid= 24699
ApplicationManager REJECTED connection from app with pid 24699 as no desktop_file_hint specified
qtmir.applications: ApplicationManager::onProcessFailed - appId= "webbrowser-app" duringStartup= true
qtmir.applications: ApplicationManager::onProcessStopped - appId= "webbrowser-app"

Problem is to be that webbrowser is being re-launched by upstart, but AppMan wasn't expecting that and so rejects the newly starting app instance.

Changed in qtmir:
status: Confirmed → In Progress
Changed in qtmir (Ubuntu):
status: Confirmed → In Progress
kevin gunn (kgunn72)
tags: added: touch-2014-10-02
removed: touch-2014-10-16
kevin gunn (kgunn72)
Changed in qtmir:
status: In Progress → Fix Committed
Changed in qtmir (Ubuntu):
status: In Progress → Fix Committed
kevin gunn (kgunn72)
Changed in qtmir:
status: Fix Committed → Fix Released
Changed in qtmir (Ubuntu):
status: Fix Committed → Fix Released
Michał Sawicz (saviq)
no longer affects: qtmir
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.