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 727461 - Calling Overview.addSearchProvider() fails
Calling Overview.addSearchProvider() fails
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: extensions
3.12.x
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-01 21:14 UTC by Kazimieras Vaina
Modified: 2021-07-05 14:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazimieras Vaina 2014-04-01 21:14:29 UTC
The excerpt from overview.js extracted from libgnome-shell.so:

addSearchProvider: function(provider) {
    this.viewSelector.addSearchProvider(provider);
},

The viewSelector no longer contains addSearchProvider function therefore above function fails.

If the addSearchProvider function was intentionally removed from viewSelector, then, please, point out other API that can be used in shell extension for adding custom search providers.
Comment 1 Richard J Turner 2014-04-03 10:05:56 UTC
Yep, this bug is affecting a couple of extensions I have installed. It looks like addSearchProvider() was moved from ViewSelector to SearchSystem, but the same commit didn't update Overview to no longer call this.viewSelector.addSearchProvider(provider);

https://git.gnome.org/browse/gnome-shell/diff/?id=0590962d36b63149dd904d3ccee802f28aadc163
Comment 2 Florian Müllner 2017-11-25 06:34:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab-test.gnome.org/fmuellner/gnome-shell-extensions/issues/108.
Comment 3 Florian Müllner 2017-11-25 08:59:36 UTC
Sorry for the noise, I "found" a bug in the migration script:
https://gitlab.gnome.org/External/bugzilla-to-gitlab-migrator/issues/2
Comment 4 GNOME Infrastructure Team 2021-07-05 14:32:25 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.