Need DBus application manager interface

Bug #1234901 reported by Thomi Richards
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
Opinion
Undecided
Unassigned
unity8 (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Autopilot really needs a way to programmatically ask the unity8 shell to:

 * Tell it which applications are running.
 * Tell it which application (or applications, in the case of a side-stage being present) is focussed.
 * Close a specified application.

Optionally, perhaps also a way to:

 * Switch focus to a specified application.

This has been discussed previously, and I believe there's a simple dbus specification lying around somewhere. This bug is to track the progress of that feature.

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

Probably something we'll have to wait until terrible turtle to do

Changed in unity8:
status: New → Triaged
importance: Undecided → Medium
Changed in unity-mir:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Gerry Boland (gerboland) wrote :

To get list of running apps, upstart-app-list and friends probably useful. Similarly upstart-app-stop can close app.

There is a DBus API in AppManager right now that returns focused applications - mainly for HUD. It needs iterating however, so we'll add these requirements

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

upstart is connected to session dbus and one can control jobs over dbus through that. All apps are started as intances of an upstart job. This should enable querying running apps and closing them.

I don't believe it will provide focus / switch focus information.

Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Michał Sawicz (saviq)
no longer affects: unity8
Gerry Boland (gerboland)
no longer affects: unity-mir
Changed in qtmir:
status: New → Opinion
Michał Sawicz (saviq)
affects: qtmir → qtmir (Ubuntu)
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.