ubuntu-app-stop doesn't work with native apps

Bug #1626028 reported by Richard Huddie
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubuntu-app-launch (Ubuntu)
Fix Released
Critical
Ted Gould

Bug Description

ubuntu-app-launch-tools version: 0.9+15.04.20160913.1-0ubuntu1
Tested on arale version 425 from ubuntu-touch/rc-proposed/meizu.en

Steps:
1) ubuntu-app-launch ubuntu-system-settings
   system settings app launches as expected.
2) ubuntu-app-list
   ubuntu-system-settings is listed as expected.
3) ubuntu-app-stop ubuntu-system-settings

Expected result:
ubuntu-system-settings app should be stopped.

Actual result:
ubuntu-system-settings is not stopped. The same behaviour is observed for other native apps, e.g. dialer-app. But ubuntu-app-stop works fine with click-apps and web-apps.

Following error is reported:

Unable to stop job application-legacy app_id ubuntu-system-settings instance_id ubuntu-system-settings-: GDBus.Error:com.ubuntu.Upstart0_6.Error.UnknownInstance: Unknown instance: ubuntu-system-settings-ubuntu-system-settings-

Related branches

Ted Gould (ted)
Changed in ubuntu-app-launch (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Ted Gould (ted)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-app-launch - 0.9+16.10.20161003.1-0ubuntu1

---------------
ubuntu-app-launch (0.9+16.10.20161003.1-0ubuntu1) yakkety; urgency=medium

  * Set a base directory for icons that have a full path specified in
    their desktop file (LP: #1623636)
  * Don't throw an exception when a Desktop file fails to include an
    Icon key (LP: #1617348)
  * Switch from g_atexit to std::atexit to avoid deprecation warnings
  * Use the --id field for launching with libertine-launch and use it
    for setting up other X11 environments
  * Ensure we don't check the length of a nullptr array
  * Make sure we don't check snapd if we know it won't return useful
    results
  * Make use of the instance parameter consistent through all the
    backends (LP: #1626028)

 -- Ted Gould <email address hidden> Mon, 03 Oct 2016 23:55:25 +0000

Changed in ubuntu-app-launch (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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