GNOME Bugzilla – Bug 787000
snapd plugin blocks shell search provider to return results
Last modified: 2021-07-05 14:13:49 UTC
Using current artful, g-s 3.25.91 and snapd-glib 1.18, looking for "vlc" or "gimp" in the gnome-shell overview returns a "no result", after deleting the snapd plugin and restarting g-s it lists them fine There is an issue in the snap plugin there but also in the gnome-software behaviour, one buggy plugin shouldn't stop other plugins to return their results Reported on https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1713931
the description is a bit misleading, it returns results but only for things which don't have a snap available (e.g "pidgin"), those which have a deb and a snap don't get listed
This is occurring because a bug in GNOME Software is causing GetResultMetas() to not return metadata for the snap results. This is causing the Shell to ignore all results. It probably should just use the results it can get. js/ui/search.js: if (metas.length != metasNeeded.length) { log('Wrong number of result metas returned by search provider ' + this.provider.id + ': expected ' + metasNeeded.length + ' but got ' + metas.length); callback(false); return; }
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.