[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2019-10-29 Thread Zygmunt Krynicki
I just tried to reproduce the bug as outlined in the bug description. I can confirm it is now fixed and working as expected. I'm marking the snappy task as fix released. ** Changed in: snappy Status: In Progress => Fix Released -- You received this bug notification because you are a

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-05-04 Thread Jeremy Bicha
Simos, GNOME Software keeps running in the background. After updating GNOME Software on Ubuntu 16.04 LTS, you either need to log out and log back in or run a command like: pkill gnome-software On Ubuntu 18.04 LTS, GNOME Software should recognize that it has been updated and it will prompt you to

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-05-04 Thread Simos Xenitellis 
I just tried again and now Software launches the correct command from the snap. I do not remember for certain whether I closed Software with Ctrl+Q. Sorry for the inconvenience. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-05-03 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-software - 3.20.5-0ubuntu0.16.04.10 --- gnome-software (3.20.5-0ubuntu0.16.04.10) xenial; urgency=medium * debian/patches/0020-Add-a-Snap-plugin.patch: * debian/patches/0015-Don-t-reject-unexpected-state-changes-external-event.patch: -

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-05-01 Thread Robert Ancell
I also tried this in a VM which didn't have libreoffice installed - it launched the welcome window, not libreoffice base. I suspect Simos hadn't restarted GNOME Software (which is confusing, but the way is works). Marking as verified. ** Tags removed: verification-failed-xenial -- You received

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-04-12 Thread James Henstridge
@simosx: I gave this another test on a clean xenial VM with the same gnome-software version as you. Each time it launched the main "libreoffice" command (showing a window asking to open recent files or create a new document in one of the libreoffice applications). gnome-software continues

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-03-30 Thread Simos Xenitellis 
** Tags removed: verification-done ** Tags added: verification-done-xenial -- 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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-03-30 Thread Simos Xenitellis 
Hi! On Ubuntu 16.04 (xenial) I enabled the `xenial-proposed` repository and upgrade `gnome-software`. $ apt policy gnome-software gnome-software: Installed: 3.20.5-0ubuntu0.16.04.10 Candidate: 3.20.5-0ubuntu0.16.04.10 Version table: *** 3.20.5-0ubuntu0.16.04.10 400 400

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-03-29 Thread Brian Murray
Hello Simos, or anyone else affected, Accepted gnome-software into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome- software/3.20.5-0ubuntu0.16.04.10 in a few hours, and then in the -proposed repository. Please help us by testing this

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-03-27 Thread Robert Ancell
** Changed in: gnome-software (Ubuntu Artful) Status: Triaged => Won't Fix -- 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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-03-06 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/gnome-software/ubuntu-xenial -- 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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-03-06 Thread Robert Ancell
** Also affects: gnome-software (Ubuntu Bionic) Importance: Medium Assignee: Robert Ancell (robert-ancell) Status: Fix Released ** Also affects: gnome-software (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: gnome-software (Ubuntu Artful)

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2018-03-06 Thread Robert Ancell
** Changed in: gnome-software (Ubuntu) Status: Triaged => Fix Released -- 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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-07-06 Thread Bug Watch Updater
** Changed in: gnome-software Status: Unknown => Fix Released ** Changed in: gnome-software Importance: Unknown => Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu.

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-07-06 Thread James Henstridge
** Bug watch added: GNOME Bug Tracker #784600 https://bugzilla.gnome.org/show_bug.cgi?id=784600 ** Also affects: gnome-software via https://bugzilla.gnome.org/show_bug.cgi?id=784600 Importance: Unknown Status: Unknown -- You received this bug notification because you are a

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-06-30 Thread Robert Ancell
Can you open bugs against GNOME Software upstream and propose patches there? In this case the patch to master will use snapd-glib and be different (I just pushed support for desktop files to snapd-glib master). You can backport changes either to the GNOME stable branch if OK'd by upstream or to

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-06-30 Thread James Henstridge
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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-03-03 Thread Michael Vogt
https://github.com/snapcore/snapd/pull/2982 ** Changed in: snappy Status: New => In Progress -- 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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-12 Thread Gustavo Niemeyer
Sounds good. We'll add something along those lines to the API. -- 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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-12 Thread Robert Ancell
GNOME Software currently doesn't actually introspect anything from the .snap directly. It uses snapd which I understand it is the desired design of snapd (I like this). So what I need is: - API in snapd to explicitly map which app has which .desktop file and how to get the contents of them. OR -

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-12 Thread Robert Ancell
The solution we ended up implementing to determine if an app is graphical was in bug 1595023. It would be much better to get an explicit mapping of apps to .desktop files and use that. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

Re: [Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Mark Shuttleworth
On 10/02/17 16:50, John Lenton wrote: > I should point out that there isn't a clear 1:1 mapping between desktop > files and apps, and that some of the things mentioned here would impose > this. > > FWIW IMHO if gnome software needs to choose one app from a snap to run > because of its own

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread John Lenton
I should point out that there isn't a clear 1:1 mapping between desktop files and apps, and that some of the things mentioned here would impose this. FWIW IMHO if gnome software needs to choose one app from a snap to run because of its own limitations it should choose the default app, the one

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
Robert: what do you actually need here? We already support multiple desktop files, and they already hold metadata. gnome-software can already inspect to see which of these is available, I believe? What are the missing pieces? -- You received this bug notification because you are a member of

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
More food for thought on the above note: the desktop file cannot call the real underlying command by itself! That would break confinement. It calls the confined binary under /snap/bin instead, which is what the "command:" attribute specifies. So, necessarily respected. -- You received this bug

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
Another side note: there's no special meaning to the order of commands in snap.yaml. We can reorder it, and snapcraft can reorder it, so please don't take it to mean something specific as that'll easily break. -- You received this bug notification because you are a member of Desktop Packages,

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
@Mark: The command is not duplicated. The desktop file will call the actual command defined in the snap.yaml. It may provide additional arguments, but those will indeed be _in addition_ to the ones in snap.yaml. -- You received this bug notification because you are a member of Desktop Packages,

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
Every application may already have an associated desktop file under meta/gui/.desktop today. -- 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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-08 Thread Robert Ancell
I opened bug 1663103 about not being able to determine which slots each app uses. -- 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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-07 Thread Robert Ancell
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

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-07 Thread Simos Xenitellis 
A note here that when you run "snap info libreoffice", the order of the commands actually changes every time you run it. I suppose that snapd does not have the order of the commands as given in snapcraft.yaml. That's what I get with snap 2.12 A workaround could be for Ubuntu Software to pick the

Re: [Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-07 Thread Mark Shuttleworth
OK, I'm +1 with that unless you have another suggestion. Could we put the desktop file as an entry under the app command? I.e. apps: foo: desktop: path/to/file.desktop command: bin/foo.py One thing that seems awkward is the duplication of the command in the desktop file and the apps

[Desktop-packages] [Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-07 Thread Robert Ancell
snapd currently doesn't (directly) expose the .desktop files, but if we had those we could get a better experience. -- 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: