GNOME search only partially working with Firefox

Hi, I hope this is the right place to post this - it’s hard to tell if it’s a GNOME bug or if it’s something with Firefox.

I’m using GNOME 41.2 on Fedora 35 workstation. When I hit Super and type to search, one option which comes up is to search for what I’ve typed on Firefox. However, if I type a multi-word search, only the first word is picked up by Firefox:

Other applications are able to recognise multiple words. For example, typing “New Zealand” brings up results from the “Clocks” app with the current time in NZ. However the Firefox results only use the word “New” and don’t search for “Zealand”.

Is there a way to make Firefox recognise the other words?

1 Like

Interesting question. Let’s look at how the search provider works.

In /usr/share/gnome-shell/search-providers/ you will find firefox-search-provider.ini:

[Shell Search Provider]

So search results come over D-Bus using name org.mozilla.Firefox.SearchProvider. Using D-Feet we can see that name is provided by /usr/lib64/firefox/firefox.

If I try to call the search provider interface manually…

gdbus call --session --dest org.mozilla.Firefox.SearchProvider --object-path /org/mozilla/Firefox/SearchProvider --method org.gnome.Shell.SearchProvider2.GetInitialResultSet "['new','zealand']"

…I see results only for “New.” So it looks like this is a bug in Firefox itself. I suggest reporting it to

Thanks for figuring that out! I’ll post about it there :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.