Support for apps which do not automatically connect to slots

Bug #1597314 reported by Will Cooke on 2016-06-29
22
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Status tracked in Artful
Xenial
Medium
Unassigned
Zesty
Medium
Unassigned
Artful
Medium
Robert Ancell

Bug Description

With the addition of new interfaces there are some plugs which do not automatically connect and require action from the user in order to be connecte.

As an example, VLC doesn't not automatically connect to the camera interface, but users may want to enable this, or maybe they dont.

Some design considerations:

 * Do we want to ask users to toggle on/off connections they do/do not want. i.e. a list of toggle buttons (what effect would this have on the application, would it fail gracefully or just not work (in which case the user could be made aware that it won't work without the permissions).

vs

 * Do we want just a single Yes/No question where it's all the connections or none.

Will Cooke (willcooke) on 2016-06-29
tags: added: desktop-trello-import
Will Cooke (willcooke) on 2016-06-29
Changed in gnome-software (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
Robert Ancell (robert-ancell) wrote :

Is this only an action that makes sense when the app is installed or at any time? My guess is we should have a "connections" panel of some sort that allows these to be toggled at a later date and perhaps an Android style "this app is requesting these permissions" dialog when installing (with the option of disabling them at that point).

Changed in gnome-software (Ubuntu):
status: New → Triaged
importance: Undecided → High
Robert Ancell (robert-ancell) wrote :

Prior art in the phone - the modifiy existing permissions is in the system settings.

Will Cooke (willcooke) wrote :

Sorry, imported in to the wrong place.

tags: added: desktop-trello-import
Robert Ancell (robert-ancell) wrote :

Opened a forum topic about the best way to implement this:
https://forum.snapcraft.io/t/connecting-plugs-and-slots-in-a-gui/776

Robert Ancell (robert-ancell) wrote :

Current plan:
- snap plugin will tell G-S to add a "Configure" button (or similar name) for each installed snap beside the remove button.
- When clicked, this will get the snap plugin to launch an interface editor program (can't be included in the plugin because plugins don't do UI; can't be in GNOME Software core because functionality is not shared between plugins).

Changed in gnome-software (Ubuntu Zesty):
status: New → Triaged
Changed in gnome-software (Ubuntu Xenial):
status: New → Triaged
Changed in gnome-software (Ubuntu Zesty):
importance: Undecided → Medium
Changed in gnome-software (Ubuntu Artful):
importance: High → Medium
Changed in gnome-software (Ubuntu Xenial):
importance: Undecided → Medium
Robert Ancell (robert-ancell) wrote :

GNOME Software upstream design is likely to end up with some "permissions" data being shown in GNOME Software, but being controlled from Control Centre. We can probably hook into the permissions code if it is appropriate.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers