Exclude some snaps from Get More Apps page

Bug #1761574 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-initial-setup (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Test Case
=========
1. Install gnome-initial-setup.

2. Log out then log back in.

3. The Ubuntu Welcome wizard runs. In my case, the Get More Apps screen shows several snaps that I don't think it should:
canonical-live-patch
gnome-3-26-1604
linux-steam-integration (devmode)

Screenshot of this page attached. Sorry for the odd coloring (fix committed in mutter 3.28.1)

Recommended Fix
===============
1. Exclude devmode snaps from this page
2. Exclude canonical-livepatch
3. Exclude the gnome-3-* snaps

Other Info
==========
The linux-steam-integration snap is from
https://github.com/solus-project/linux-steam-integration

Since it's a devmode snap, it doesn't show up in the GNOME/Ubuntu Software app. It depends on the solus-runtime-gaming base snap (which doesn't show up in GNOME Software either yet).

It seems odd that the 3 snaps I mentioned in the test case don't have app icons shown even though canonical-live-patch and gnome-3-26-1604 do have icons in GNOME Software.

System Info
===========
gnome-initial-setup 3.28.0-2ubuntu0+ppa4
from ppa:ubuntu-desktop/ubuntu-welcome
Ubuntu 18.04 Beta

$ snap list
Name Version Rev Tracking Developer Notes
canonical-livepatch 8.0.1 39 stable canonical -
chromium 65.0.3325.181 274 stable canonical -
core 16-2.31.2 4206 stable canonical core
firefox 60.0b9-1 75 edge mozilla -
gnome-3-26-1604 3.26.0 59 stable canonical -
gnome-calculator 3.26.0 154 stable canonical -
gnome-characters 3.26.2 69 stable canonical -
gnome-logs 3.26.2 25 stable canonical -
gnome-system-monitor 3.26.0 36 stable canonical -
linux-steam-integration 0.7.2 12 edge ikey devmode
solus-runtime-gaming 3.0.0 12 edge ikey base
spotify 1.0.72.117.g6bd7cc73-35 6 stable spotify -
vlc 3.0.1-4-g14a4897 190 stable videolan -

Tags: bionic
Revision history for this message
Jeremy Bícha (jbicha) wrote :
summary: - Exclude some snaps from Software page
+ Exclude some snaps from Get More Apps page
Revision history for this message
Robert Ancell (robert-ancell) wrote :

When I first implemented this I wasn't sure the best way to exclude "system" snaps as they don't provide any metadata to determine this. I think perhaps just excluding snaps without .desktop files is probably the best solution.

The reason those snaps have icons in GNOME Software is there's no icon embedded in the snap (or .desktop file with icon name) and in G-S we pull the icon from the store. This doesn't matter if we do the above.

Changed in gnome-initial-setup (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Note there are a number of snaps that don't show as having .desktop files:
https://forum.snapcraft.io/t/snapd-not-returning-desktop-file-for-skype/

So the simple solution will hide these :/

Revision history for this message
Robert Ancell (robert-ancell) wrote :

I changed it to just loading the installed .desktop files.

Changed in gnome-initial-setup (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-initial-setup - 3.28.0-2ubuntu3

---------------
gnome-initial-setup (3.28.0-2ubuntu3) bionic; urgency=medium

  * debian/patches/0001-Add-Ubuntu-mode-with-special-pages.patch:
    - Don't show livepatch page if already enabled (LP: #1761569)

gnome-initial-setup (3.28.0-2ubuntu2) bionic; urgency=medium

  * debian/patches/0001-Add-Ubuntu-mode-with-special-pages.patch:
    - Only show installed graphical apps (LP: #1761574)
    - Don't promote snaps that are already installed (LP: #1761578)
    - Don't show settings privacy link that doesn't exist (LP: #1762199)
    - Remove FIXME from page description (LP: #1762201)
    - Use privacy URL from /etc/os-release (LP: #1761745)
    - Make page titles consistent with existing pages (LP: #1762198)

 -- Robert Ancell <email address hidden> Wed, 11 Apr 2018 10:36:45 +1200

Changed in gnome-initial-setup (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.