Closed Bug 1695262 Opened 7 months ago Closed 7 months ago

When removing a default engine, try to revert to a "general" search engine rather than a "specific" search engine

Categories

(Firefox :: Search, enhancement, P2)

enhancement
Points:
3

Tracking

()

RESOLVED FIXED
88 Branch
Iteration:
88.2 - Mar 8 - Mar 21
Tracking Status
firefox88 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

If we remove an engine that is default, due to the user removing it, or an ignore list hit, then if the locale/region default engine is hidden, we should attempt to change to an engine that is a general search engine. For example, changing to Amazon isn't going to be as useful as a default engine as DuckDuckGo is.

This will not affect the user's ability to choose other engines as default, only what happens if the currently selected engine is removed.

The new remove process for the current default engine will be:

  • If the locale/region default is not hidden, use that.
  • Otherwise, select the first general search engine.
  • Otherwise, unhide the locale/region default (if it is not the one being removed).
  • Otherwise, unhide the first general search engine or first other visible engine.

Currently if the region/locale default is hidden, the search service will try and revert to the first non-hidden engine, this might be a shopping or dictionary based engine which is not as useful as a general search engine.

Depends on D105031

Blocks: 1697477
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8c8641867e44
When removing a default engine and the locale/region default is hidden, try to revert to a 'general' search engine if possible. r=mak
Iteration: 88.1 - Feb 22 - Mar 7 → 88.2 - Mar 8 - Mar 21
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.