Closed Bug 1927113 Opened 27 days ago Closed 12 days ago

Search mode transfers to other tabs while cycling tabs when persisted search enabled

Categories

(Firefox :: Address Bar, defect, P2)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
134 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox131 --- unaffected
firefox132 --- unaffected
firefox133 --- disabled
firefox134 --- verified

People

(Reporter: aflorinescu, Assigned: jteow)

References

(Blocks 2 open bugs, Regression)

Details

(Keywords: regression, Whiteboard: [sng])

Attachments

(2 files)

Attached video search-mode.mp4

Found in

  • 133.0a1 (2024-10-25)

Affected versions

  • 133.0a1 (2024-10-25)
  • presist search enabled on Nightly/Early beta

Tested platforms

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

Preconditions

  • browser.urlbar.showSearchTerms.featureGate set to TRUE (default in Nightly)

Steps to reproduce

  1. Open Tab 1 - execute random search with default engine
  2. Open Tab2- enter search mode with any engine
  3. Cycle tabs back to tab1 - either click or Ctrl+Pgup/Down.

Expected result

  • Tab1, Tab2 content doesn't change

Actual result

  • The search mode from tab2 applies to tab1

Regression range

  • TBD

Additional Notes

  • Reproduces with browser.urlbar.scotchBonnet.enableOverride as well.

Mozregression points to bug 1921092 as regressor:
DEBUG : Found commit message:
Bug 1921092 - Simplify Persisted Search logic and make non-default engines consistent - r=adw,urlbar-reviewers

Regressed by: 1921092

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

For more information, please visit BugBot documentation.

Flags: needinfo?(jteow)

The feature is also enabled in Early Beta releases, not just Nightly.
It should not affect Release, anyway.

Severity: -- → S3
Priority: -- → P2
Whiteboard: [sng]

Set release status flags based on info from the regressing bug 1921092

Assignee: nobody → jteow
Flags: needinfo?(jteow)

Setting Fx133 to disabled.
The following prefs are disabled in late beta

  • pref("browser.urlbar.showSearchTerms.featureGate", true);

Correcting the other tracking flags since the regressor only landed during 133

this.searchMode can return null even if a search mode is shown
in the address bar, as the getter uses the current browser as the
context and attempts to use the state data. I try to solve this
by relying on the fact that a tab switch and invalid pageproxystate
results in restoring the search mode state.

Pushed by jteow@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a9c8f6767ee2 Ensure persisted search doesn't show search mode from another tab - r=adw,urlbar-reviewers
Status: NEW → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

Reproducible on a 2024-10-25 Nightly build on Windows 10.
Verified as fixed on Firefox Nightly 134.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: