After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787000 - snapd plugin blocks shell search provider to return results
snapd plugin blocks shell search provider to return results
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: search
3.25.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-08-30 07:32 UTC by Sebastien Bacher
Modified: 2021-07-05 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2017-08-30 07:32:36 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
Comment 1 Sebastien Bacher 2017-08-30 07:39:56 UTC
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
Comment 2 Robert Ancell 2017-08-31 01:53:45 UTC
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;
  }
Comment 3 GNOME Infrastructure Team 2021-07-05 14:13:49 UTC
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.