Open Bug 1239694 Opened 4 years ago Updated 1 month ago

[gnome] firefox should have a search provider


(Firefox :: Shell Integration, enhancement)

Not set




(Reporter: bytbox, Assigned: stransky)



(3 files)

The gnome-shell search bar shows aggregated results from a collection of "search providers". It would be nice if firefox included a search provider, so that bookmarks, history, and the option to search with the default engine, showed up in gnome's search bar.

AFAIK, epiphany is the only browser to have a search provider. See [1] for the gnome bugtracker discussion explaining why that provider shouldn't just open the default browser. The important part (IMO) is that looking at bookmarks, rss feeds, history, and so forth can't be done in a generic manner.

Assignee: nobody → stransky
Ever confirmed: true
Assignee: stransky → ozoder
We can utilize the DBusRemoteService here to export search results via DBus. 

toolkit/components/remote/nsDBusRemoteService.* provides public OpenURL() method which enables open url by running Firefox instance. We may also implement the search provider DBus methods here to provide the search privider cabability.
Looks like we need to implement a dearch provider D-Bus interface described at [1] which should be fairly easy.

Also I think we should provide the search only when Firefox is running so no external application would be needed for that.
Assignee: ozoder → stransky
Type: defect → enhancement

Implement org.gnome.Shell.SearchProvider2 D-Bus interface and enable it when
widget.gnome-search-provider.enabled pref is set, so this feature is disabled
by default.

You need to log in before you can comment on or make changes to this bug.