Closed Bug 2087143 Opened 1 month ago Closed 5 days ago

"Add Search Engine" badge remains after opening search mode switcher popup

Categories

(Firefox :: Address Bar, defect, P2)

defect

Tracking

()

VERIFIED FIXED
163 Branch
Tracking Status
firefox161 --- wontfix
firefox162 --- wontfix
firefox163 --- verified

People

(Reporter: mccr8, Assigned: daleharvey)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Keywords: regression, Whiteboard: [sng])

Attachments

(1 external file)

When I'm on https://music.youtube.com/ I get a green plus on the magnifying glass. I couldn't figure out how to get rid of it, so I hoped that if I just added it then at least it would go away. However, if I add it, the plus is still there. If I click on the plus, then I get the error message "Nightly could not install the search plugin from “https://music.youtube.com/opensearch?locale=en_US” because an engine with the same name already exists.".

The title of the error message is "Install error".

There are basically two bugs:

  1. We still offer the engine after installing (duplicate of bug 1457069)
  2. The plus badge never goes away unless you install the engine or load the page 3 times (this was added in bug 2039222, and the button was made permanently visible in bug 2085310)

We could make the plus go away when opening the popup to solve the second one

Blocks: 2001131
Severity: -- → S4
Component: Search → Address Bar
Priority: -- → P2
Summary: "Add Search Engine" option still appears after adding the engine, produces an error if used → "Add Search Engine" badge remains after opening search mode switcher popup
Whiteboard: [sng]
Assignee: nobody → dharvey

So the bug that failed to detect installs on music.youtube.com is fixed seperately, there are remaining issues, 1. Its possible for installs to fail in other ways, 2. The icon in the urlbar is quite distracting being bright green (often the only coloured interface in the urlbar)

Had a discussion with the team + UX around this, we will hide the norification if install succeeds of fails, and to make the green less distracting it will be monochrome / match the urlbar icon colours until hovered, when it is hovered it will go back to green to establish the link between the + icon and the "Add search engine" row that its highlighting that uses the same green icon

  • duplicated comment somehow

(In reply to Dale Harvey (:daleharvey) from comment #4)

Had a discussion with the team + UX around this, we will hide the norification if install succeeds of fails, and to make the green less distracting it will be monochrome / match the urlbar icon colours until hovered, when it is hovered it will go back to green to establish the link between the + icon and the "Add search engine" row that its highlighting that uses the same green icon

Thank you! It was distracting because it was the only thing with any color on the entire address bar.

Attachment #9679212 - Attachment description: Bug 2087143 - Hide addEngine badge when user selects to install. r=mbeier → Bug 2087143 - Make addEngine badge monochrome and hide when no needed. r=mbeier
Pushed by dharvey@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d53de5e5cc0c https://hg.mozilla.org/integration/autoland/rev/6886b4cbf2f2 Make addEngine badge monochrome and hide when no needed. r=mbeier,urlbar-reviewers,desktop-theme-reviewers,dao
Status: NEW → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch

The patch landed in nightly and beta is affected.

:daleharvey, please make an uplift decision for beta:

  • For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set status-firefox162 to wontfix if the fix can wait for the next release.

Uplift requests can be submitted from Lando: D341722.

See Requesting an Uplift for documentation on how to request an uplift.

For more information, please visit BugBot documentation.

Flags: needinfo?(dharvey)
QA Whiteboard: [search][qa-triage-done-c163/b162][qa-ver-needed-c163/b162]

Relatively minor bug and its only enabled on nightly

Regressions: 2098248

Verified fixed using Firefox 163.0a1 on Windows 11 x64.

Status: RESOLVED → VERIFIED
QA Whiteboard: [search][qa-triage-done-c163/b162][qa-ver-needed-c163/b162] → [search][qa-triage-done-c163/b162][qa-ver-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: