We see the multiple commands but there's no way to differentiate between
them. At the moment we're just launching the first command in the list.

I think as a first step the order should be as the developer intended,
so picking the first one is an appropriate default.

If we want to support launching multiple applications from a snap, then we 
probably need more metadata. For example we probably need:
- Some sort of description for each app
- We need to know if some apps are graphical and some are not (we're looking at 
the slots the snap requests to use this).

We also need to work out how to expose this in GNOME Software, either
multiple launch buttons per snap or break the snap into multiple
entries.

** Summary changed:

- When launching a snap from Ubuntu Software, it runs the first command 
alphabetically
+ GNOME Software only supports running one application from a snap

** Changed in: gnome-software (Ubuntu)
   Importance: Undecided => Medium

** Changed in: gnome-software (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1661590

Title:
  GNOME Software only supports running one application from a snap

Status in Snappy:
  New
Status in gnome-software package in Ubuntu:
  Triaged

Bug description:
  HOW TO REPRODUCE:

  1. Install LibreOffice snap ('nonfree' tag) from Ubuntu Software.
  2. Click on the 'Launch' button once you have it installed.

  WHAT IS EXPECTED: 
  It should launch the LibreOffice wizard instead of any of Writer, Calc, etc.

  WHAT ACTUALLY HAPPENS: 
  It launches LibreOffice Database.

  
  WHY THIS HAPPENS?

  Ubuntu Software probably picks the first listed command
  (libreoffice.base), as shown in

  $ snap info libreoffice
  name:      libreoffice
  summary:   "LibreOffice is a powerful office suite including word processing 
and creation of spreadsheets, slideshows and databases"
  publisher: canonical
  description: |
    LibreOffice is a powerful office suite – its clean interface and
    feature-rich tools help you unleash your creativity and enhance your
    productivity. LibreOffice includes several applications that make it the 
most
    powerful Free and Open Source office suite on the market: Writer (word
    processing), Calc (spreadsheets), Impress (presentations), Draw (vector
    graphics and flowcharts), Base (databases), and Math (formula editing).
  commands:
    - libreoffice.base
    - libreoffice.calc
    - libreoffice.draw
    - libreoffice.impress
    - libreoffice
    - libreoffice.math
    - libreoffice.writer
  tracking:    stable
  installed:   5.3.0.3 (17) 374MB -
  refreshed:   2017-02-01 20:51:51 +0200 EET
  channels:                 
    stable:    5.3.0.3 (17) 374MB -
    candidate: 5.3.0.3 (17) 374MB -
    beta:      5.3.0.3 (17) 374MB -
    edge:      5.3.0.3 (17) 374MB -

  
  The order in snapcraft.yaml is different, so probably Snapcraft is changing 
the order (it might assume that 'libreoffice' is 'libreoffice.libreoffice', so 
it puts it further down.

  Here is snapcraft.yaml: https://git.launchpad.net/~bjoern-michaelsen
  /df-libreoffice/+git/libreoffice-snap-
  playground/tree/snapcraft.yaml?h=xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1661590/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to