All snap applications missing from gnome-search after update

Bug #1960972 reported by James Barlow
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After this "upgrade",
snapd:amd64 2.53+21.10ubuntu1 2.54.2+21.10ubuntu1
(Some video drivers were upgraded at the same time, but this doesn't seem relevant.)

...all snap applications have disappeared from gnome-shell search. All snaps are still installed and can be executed with "snap run app". All applications work correctly when launched this way, except that they will be missing their dock icons showing the "gears"/missing icon indicator.

Application icons are also missing in the Ubuntu Software Center.

Reinstalling the snap applications affected does not help, including "snap remove --purge && snap install".

Non-snap applications are unaffected.

To reproduce, press super key and type the name of any installed in /snap. No snap applications appear but normal applications and files will be listed as usual.

Tried to uninstall shell extensions removed and reboot. Nothing improved.

---

gnome-shell logs complain of the following:

Feb 15 15:26:56 gnome-shell[3135]: GNOME Shell started at Tue Feb 15 2022 15:26:53 GMT-0800 (PST)
Feb 15 15:26:56 gnome-shell[3135]: Registering session with GDM
Feb 15 15:27:03 <email address hidden>[3135]: Slack1, Impossible to lookup icon for 'Slack1_2-panel' in path /run/user/1000/.org.chromium.Chromium.cgr>
Feb 15 15:27:03 <email address hidden>[3135]: unable to update icon for Slack1
Feb 15 15:27:09 gnome-shell[3135]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp
Feb 15 15:27:09 gnome-shell[3135]: Received error from D-Bus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell.SearchProvider2” on object at path /org/gnome/seahorse/Application
Feb 15 15:27:09 gnome-shell[3135]: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 5 but got 0
Feb 15 15:27:10 gnome-shell[3135]: Received error from D-Bus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell.SearchProvider2” on object at path /org/gnome/seahorse/Application
Feb 15 15:27:10 gnome-shell[3135]: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 5 but got 0
Feb 15 15:27:13 gnome-shell[3135]: Received error from D-Bus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Feb 15 15:27:13 gnome-shell[3135]: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 5 but got 0
Feb 15 15:29:06 gnome-shell[3135]: Received error from D-Bus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell.SearchProvider2” on object at path /org/gnome/seahorse/Application
Feb 15 15:29:06 gnome-shell[3135]: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 5 but got 0
Feb 15 15:29:33 gnome-shell[3135]: Received error from D-Bus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell.SearchProvider2” on object at path /org/gnome/seahorse/Application
Feb 15 15:29:33 gnome-shell[3135]: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 5 but got 0
Feb 15 15:29:34 gnome-shell[3135]: Timelines with detached actors are not supported
Feb 15 15:29:34 gnome-shell[3135]: Timelines with detached actors are not supported
Feb 15 15:29:34 gnome-shell[3135]: Received error from D-Bus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell.SearchProvider2” on object at path /org/gnome/seahorse/Application
Feb 15 15:29:34 gnome-shell[3135]: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 5 but got 0
Feb 15 15:35:17 gnome-shell[3135]: Timelines with detached actors are not supported
Feb 15 15:35:22 gnome-shell[3135]: Timelines with detached actors are not supported
Feb 15 15:35:22 gnome-shell[3135]: Timelines with detached actors are not supported
Feb 15 15:35:25 gnome-shell[3135]: Timelines with detached actors are not supported

---

Description: Ubuntu 21.10
Release: 21.10

gnome-shell:
  Installed: 40.5-1ubuntu2

snapd:
  Installed: 2.54.2+21.10ubuntu1

seahorse:
  Installed: 40.0-2

Revision history for this message
James Barlow (shael7aerien) wrote :

Downgrading snapd to the previous version 2.53+21.10ubuntu1 resolves the issue.

As such this may actually be a snapd issue, or something involving both communications between the two applications. Neither version of snapd logs any errors.

tags: added: impish
tags: added: regression-update
no longer affects: gnome-shell (Ubuntu)
Revision history for this message
Ian Perry (iperry83) wrote (last edit ):

I experienced this, on the same snapd package version and Ubuntu release. I am using fish as my shell (it's set in /etc/passwd for my user).
I noticed that the XDG_DATA_DIRS variable had /var/lib/snapd/desktop appended with a space instead of a colon.

Editing /usr/share/fish/vendor_conf.d/snapd.fish (data/env/snapd.fish.in in upstream source, I believe) and changing the 'set' command on line 10 to use '--path' fixed the issue for me.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
James Barlow (shael7aerien) wrote :

I'm also using fish shell so what @iperry83 describes is like the issue.
It appears that snapd.fish relies on fish_add_path which is not available until fish 3.3, while Ubuntu 21.10 provides fish 3.1.2.

I did not attempt to return to the non-working version, just adding this observation.

Revision history for this message
Ricardo N Feliciano (felicianotech) wrote :

I'm using Fish and affected by this issue as well. I just wanted to comment on:

"It appears that snapd.fish relies on fish_add_path which is not available until fish 3.3, while Ubuntu 21.10 provides fish 3.1.2."

I'm using the Fish PPA and am running Fish v3.3.1 right now. So I don't think having an older version of Fish is the issue.

I'm glad to see I'm not the only one running into this though.

Revision history for this message
Ricardo N Feliciano (felicianotech) wrote :

If I'm understanding what I'm reading correctly, the fix for this has already been merged: https://github.com/snapcore/snapd/pull/11371/files

It might have been released with v2.54.3, but in the last 24 hours they used that version for a security release. So I assume, when v2.54.4 (or v2.55.0) get released, we'd have a fix for this published.

In the meantime, I followed Ian's fix in #2 manually in order to get it working for now.

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.