Note the gnome-sofware task is only open to make this more visible, the solution is entirely in appstream-glib.
-- 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/1700994 Title: Installed snaps show twice in GNOME Software Status in appstream-glib package in Ubuntu: In Progress Status in gnome-software package in Ubuntu: In Progress Status in appstream-glib source package in Xenial: New Status in gnome-software source package in Xenial: New Status in appstream-glib source package in Zesty: New Status in gnome-software source package in Zesty: New Status in appstream-glib source package in Artful: In Progress Status in gnome-software source package in Artful: In Progress Bug description: [Impact] Installed snaps show twice in GNOME Software. The solution is to not scan the installed .desktop files - there is sufficient information provided by snapd. [Test Case] 1. Open GNOME Software 2. Install a snap (e.g. ohmygiraffe) 3. Switched to "Installed" tab Expected result: ohmygiraffe is shown once in the installed list. Observed result: ohmygiraffe is shown twice. One entry has data from the snap metadata, the other from the installed .desktop file. [Regression Potential] There is some risk of breaking other appstream behaviour. The risk is low because we only filter out the snapd specific directory that contains this data. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1700994/+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

