I would hope that snapcraft can be made to automatically populate the apps data by detecting the .desktop files. In this case, the command does seem redundant. If GNOME Software knew the .desktop file it would use that information instead of the command.
-- 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp