GNOME Bugzilla – Bug 727461
Calling Overview.addSearchProvider() fails
Last modified: 2021-07-05 14:32:25 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.
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
-- 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.
Sorry for the noise, I "found" a bug in the migration script: https://gitlab.gnome.org/External/bugzilla-to-gitlab-migrator/issues/2
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.