I put together a gnome-software patch to use the extra info from mvo's
snapd change:

https://code.launchpad.net/~jamesh/gnome-software/+git/gnome-
software/+ref/pick-launch-app

It still only supports running one application, but it now favours apps
that provide a desktop file, and the snap's main app as a tie breaker.
For Libreoffice, this reliably picks the main "libreoffice" binary.

It also launches the app via the desktop file if available, so we don't
have to guess whether it needs a terminal in that case.

-- 
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:
  In Progress
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