Closed Bug 1971335 Opened 5 months ago Closed 4 months ago

Context menu can't be opened when right-clicking inside the "Add Search Engine" fields

Categories

(Firefox :: Search, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
142 Branch
Tracking Status
firefox140 --- wontfix
firefox141 --- wontfix
firefox142 --- verified

People

(Reporter: dlucaci, Assigned: mbeier)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng])

Attachments

(2 files)

Found in

  • Beta 140.0b7

Affected versions

  • Beta 140.0b7
  • Nightly 141.a1

Tested platforms

  • Affected platforms: Windows 10, Ubuntu 22, macOS 14

Preconditions

  • browser.urlbar.update2.engineAliasRefresh is set to true

Steps to reproduce

  1. Go to a website that has a search field (eg: www.wikipedia.org/).
  2. Right click inside the website's search field.
  3. Click on the "Add Search Engine" option from the context menu.
  4. Right-click in one of the fields in order to open the context menu.

Expected result

  • The context menu is correctly displayed.
  • The copy/paste actions can be made using the context menu.

Actual result

  • The context menu does not appear, so copy and paste actions cannot be performed through it.

Regression range

  • Not a regression.

Additional notes

  • As a workaround, you can use keyboard shortcuts (Ctrl+C / Ctrl+V) to perform copy and paste actions.

I can't reproduce this on 140.0b7 or Nightly on macOS. Could you add more detail please? Are there any errors in Firefox's browser console at any point in your STR? (Tools menu > Browser Tools > Browser Console)

Here's what I did:

  1. Verify browser.urlbar.update2.engineAliasRefresh is true
  2. Open https://www.wikipedia.org/
  3. Right-click in the search field in the middle of the page
  4. Click Add Search Engine
  5. Right-click in the search field again

The context menu appears as expected and paste, select all, etc. work. I also tried with https://bugzilla.mozilla.org/.

Flags: needinfo?(dlucaci)
Attached image image.png

I can reproduce the issue.
No context menu appears.

Thanks Alice, I see now. I really misread Dana's STR. This dialog is part of the search code so I'll move this bug there. It's not obvious at a quick glance why there's no context menu.

Component: Address Bar → Search
Flags: needinfo?(dlucaci)
Assignee: nobody → mbeier
Severity: -- → S3
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [sng]
See Also: → 1973189
Pushed by mbeier@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e6eb237ecbd4 https://hg.mozilla.org/integration/autoland/rev/fb1a06af15af Context menu can't be opened when right-clicking inside the "Add Search Engine" fields. r=search-reviewers,scunnane
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch

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

For more information, please visit BugBot documentation.

Flags: needinfo?(mbeier)
QA Whiteboard: [QA-3929][qa-found-in-c141] → [QA-3929][qa-found-in-c141] [search] [qa-triage-done-c142/b141] [qa-ver-needed-c142/b141]
QA Contact: oardelean

Issue is reproducible on a 2025-07-06 Firefox Nightly build on macOS 15.
Verified as fixed on Firefox Nightly 142.0a1 on Windows 10, Ubuntu 22, macOS 15.

Updating the bug since the issue has been verified per Comment 8.

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

Attachment

General

Created:
Updated:
Size: