Closed Bug 1748096 Opened 4 years ago Closed 4 years ago

GNOME Shell search provider only recognises first word

Categories

(Core :: Widget: Gtk, defect)

Firefox 95
defect

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: tdmlouis, Assigned: jhorak)

Details

Attachments

(1 file, 1 external file)

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0

Steps to reproduce:

Firefox version: 95.0.2
OS: Fedora Workstation 35
DE: GNOME 41.2

I've described the steps to reproduce over on the GNOME forum here: https://discourse.gnome.org/t/gnome-search-only-partially-working-with-firefox/8488

But a quick summary is:

  1. Press the Super key to bring up the search bar
  2. Type a multi-word search, e.g. New Zealand

Actual results:

The results from Firefox only use the first word of the search phrase. e.g. if the search phrase is New Zealand then Firefox only picks up the word New. See the attached image for an example. This screenshot also includes GNOME's "Clocks" application showing the expected behaviour i.e. both words of the search phrase are used.

Expected results:

All words in the search phrase should be included in the search results.

Another note: As mentioned in the link above in the "steps to reproduce" section, if you run gdbus call --session --dest org.mozilla.Firefox.SearchProvider --object-path /org/mozilla/Firefox/SearchProvider --method org.gnome.Shell.SearchProvider2.GetInitialResultSet "['new','zealand']" in the terminal, it will only give results based on the word 'new' i.e. the observed behaviour. However, if you replace the final argument with "['new zealand']" then the results are as expected i.e. it brings up search results for "new zealand".

Summary: GNOME search only recognises first word → GNOME Shell search provider only recognises first word

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Assignee: nobody → jhorak
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/4d909088d95c Allow multi word search on Gnome shell search provider; r=stransky
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: