X-Ubuntu-Single-Instance=true doesn't work

Bug #1229468 reported by Loïc Minier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Application Launcher
Fix Released
Undecided
Ted Gould
upstart-app-launch (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

I tried latest upstart-app-launch with fixed .desktop file parsing with an older music-app which works with --file=file://xyz and --file=xyz; I recommend:
https://launchpad.net/~ubuntu-touch-coreapps-drivers/+archive/daily/+files/music-app_0.6bzr117saucy0_all.deb

then I added X-Ubuntu-Single-Instance=false to its desktop file and it still behaved as expected.

With X-Ubuntu-Single-Instance=true however, it didn't work: the first music file opens fine, the second one stops music playback relatively quickly but music app takes a while to disappear from running app list, and music app doesn't actually open with the file unless I launch it a second time.

Cheers,

Related branches

Revision history for this message
Loïc Minier (lool) wrote :

.cache/upstart/application.log says:
'music-app does not exist in any database for user phablet'
start: Job is already running: application-legacy (music-app-)
stop: Job failed while stopping
'music-app does not exist in any database for user phablet'
application-legacy (music-app-) start/running, process 7430
'music-app does not exist in any database for user phablet'
start: Job is already running: application-legacy (music-app-)
stop: Job failed while stopping
'music-app does not exist in any database for user phablet'

I wonder whether this is because upstart can't kill the SIGSTOPed app correctly.

Thomas Strehl (strehl-t)
Changed in upstart-app-launch:
assignee: nobody → Ted Gould (ted)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:upstart-app-launch at revision 67, scheduled for release in upstart-app-launch, milestone Unknown

Changed in upstart-app-launch:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package upstart-app-launch - 0.1+13.10.20130925.2-0ubuntu1

---------------
upstart-app-launch (0.1+13.10.20130925.2-0ubuntu1) saucy; urgency=low

  [ Ted Gould ]
  * Ensure a failed stop return doesn't block execution. (LP: #1229468)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 67
 -- Ubuntu daily release <email address hidden> Wed, 25 Sep 2013 18:03:51 +0000

Changed in upstart-app-launch (Ubuntu):
status: New → Fix Released
Ted Gould (ted)
Changed in upstart-app-launch:
status: Fix Committed → Fix Released
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.