Closed Bug 2032991 Opened 3 months ago Closed 3 months ago

Don't perform search when adding a new engine from search engine switcher

Categories

(Firefox :: Address Bar, defect, P1)

x86_64
macOS
defect

Tracking

()

VERIFIED FIXED
152 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox149 --- unaffected
firefox150 --- unaffected
firefox151 + verified
firefox152 + verified

People

(Reporter: phorea, Assigned: daleharvey)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [sng][scotchbonnet-followon])

Attachments

(2 files)

Found in

  • Firefox 151.0a1 2026-04-16;

Affected versions

  • Firefox Nightly 151.0a1;

Tested platforms

  • Affected platform: Windows 11, Ubuntu 24, macOS 15;
  • Unaffected platforms: none

Steps to reproduce

  1. Go to a page that offers open search engines (eg: youtube.com).
  2. Perform a change to url link to enter the edit mode so that USB button is shown - add a space at the end of the url link.
  3. Open search engine switcher and make sure the option to add the search engine is shown next to the Search Settings.
  4. Select the option to add the search engine.

Expected result

  • Newly added search engine shouldn't perform search after its own url.
  • Before bug 2026387, the search mode for the open search engine was opened.

Actual result

  • Search engines searches for the url already opened in the address bar (youtube eg)

Regression range

  • last good: 2026-04-07
  • first bad: 2026-04-08
  • pushlog url
  • Found commit message:
    Bug 2026387 - Perform search when user selects search engine. r=dao,urlbar-reviewers,mbeier

:daleharvey, since you are the author of the regressor, bug 2026387, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(dharvey)
Assignee: nobody → dharvey
Severity: -- → S2
Flags: needinfo?(dharvey)
Priority: -- → P1
Whiteboard: [sng][scotchbonnet-followon]
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
QA Whiteboard: [S4][qa-found-in-c151] → [S4][qa-found-in-c151] [search] [qa-triage-done-c152/b151][qa-ver-needed-c152/b151]

The patch landed in nightly and beta is affected.
:daleharvey, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(dharvey)

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: User experiences regression introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=2026387
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: 1. Go to a page that offers open search engines (eg: youtube.com).
  1. Perform a change to url link to enter the edit mode so that USB button is shown - add a space at the end of the url link.
  2. Open search engine switcher and make sure the option to add the search engine is shown next to the Search Settings.
  3. Select the option to add the search engine.
  • Risk associated with taking this patch: low
  • Explanation of risk level: Small change that is covered by tests
  • String changes made/needed?: N/A
  • Is Android affected?: no
Attachment #9574952 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Yeh probably best be uplifted so we dont regress for a release

Flags: needinfo?(dharvey)
Attachment #9574952 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [S4][qa-found-in-c151] [search] [qa-triage-done-c152/b151][qa-ver-needed-c152/b151] → [S4][qa-found-in-c151] [search] [qa-triage-done-c152/b151][uplift][qa-ver-needed-c152/b151]
QA Contact: phorea

Verified as fixed using latest Nightly 152.0a1 using Win 11 and macOS 15.
I will leave the "qe-verify+" flag set until Firefox Beta 151.0b5 build will be available.

Verified as fixed using Firefox 151 beta 5 across platforms.

Status: RESOLVED → VERIFIED
QA Whiteboard: [S4][qa-found-in-c151] [search] [qa-triage-done-c152/b151][uplift][qa-ver-needed-c152/b151] → [S4][qa-found-in-c151] [search] [qa-triage-done-c152/b151][uplift][qa-ver-done-c152/b151]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: