Closed Bug 1938036 Opened 3 months ago Closed 2 months ago

Keyword is retained for Contextual Search mode(click) when access point is not a search form and engine is autofilled

Categories

(Firefox :: Address Bar, defect, P2)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
136 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox133 --- disabled
firefox134 --- disabled
firefox135 --- wontfix
firefox136 --- verified

People

(Reporter: aflorinescu, Assigned: daleharvey)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sng-scotchbonnet])

Attachments

(1 file)

Found in

  • Nightly 135.0a1;

Affected versions

  • Nightly 135.0a1;

Tested platforms

  • Affected platforms: Windows 11, Mac 13, Ubuntu 24

Preconditions

  • The default list search engine, excluding the default search engine already has autofill for the start strig: e.g: bin will autofill to bing.com

Steps to reproduce

  1. Open new tab page.
  2. Input a string in the address bar that would match an engine from the default list, excluding the default engine list: e.g: duc , bin - the string entered autofills to duckduck.go, bing.com
  3. Use mouse to click on the offered contextual search (old tab to search)
    3'. Use tab to navigate to the offered contextual search (old tab to search)

Expected result
3. Search mode is entered without search term
3'. Search mode is entered without search term.

Actual result
3. Search mode is entered without the search term when pressing tab.
3'. Search mode is entered with search term when using mouse click.

Regression range

  • N/A

Note

  • If there is no autofill for used search engine or autofill is removed before contextual search secondary action is clicked, the bug doesn't reproduce.
  • In this case, when accessing contextual search from a non-search form page and basically using the old tab to search functionality, the search word should be scrapped since thats not the intent.
Summary: Contextual Search mode is entered with keyword → Keyword is retained for Contextual Search mode(click) when access point is not a search form and engine is autofilled
Component: Search → Address Bar
Severity: -- → S3
Priority: -- → P2
Whiteboard: [sng-scotchbonnet]
Assignee: nobody → dharvey
Duplicate of this bug: 1937021
Duplicate of this bug: 1937796

The severity field for this bug is set to S3. However, the following bug duplicate has higher severity:

:daleharvey, could you consider increasing the severity of this bug to S2?

For more information, please visit BugBot documentation.

Flags: needinfo?(dharvey)

edit old comment accidently posted

Severity: S3 → S2
Flags: needinfo?(dharvey)
Pushed by dharvey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c7114c02d6a5 Dont maintain user input when selecting contextual engine. r=daisuke,urlbar-reviewers
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch

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

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox135 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(dharvey)
Flags: needinfo?(dharvey)
Duplicate of this bug: 1941112

Reproducible on a 2024-12-17 Nightly build on Windows 10.
Verified as fixed on Firefox Nightly 136.0a1 on Windows 10, Ubuntu 22, macOS 14.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: