Closed Bug 1527947 Opened 2 years ago Closed 2 years ago

QuantumBar: Moving selection to one-off search buttons doesn't update the "Search with" action text

Categories

(Firefox :: Address Bar, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: standard8, Assigned: adw)

References

Details

(Whiteboard: [fxsearch])

Attachments

(1 file)

STR:

  1. Start typing in the urlbar with something that will result in the first item being "Search with <engine>"
  2. Press alt + arrow down.
  3. As you then navigate through the one-off buttons, observe the "Search with" text.

Expected Results

=> "Search with <engine>" is updated as the one-off button changes.

Actual Results

=> The text is not updated.

This currently causes part of browser_urlbarOneOffs.js to fail.

Duplicate of this bug: 1528408

Copying my comment from bug 1528408:

For the awesomebar, it's handled here: https://searchfox.org/mozilla-central/rev/8e8ccec700159dc4efe061cfec2af10b21a8e62a/browser/base/content/urlbarBindings.xml#2642

Not directly related to this bug, but we need to listen for one-off selection changes to properly implement search alias highlighting too.

Blocks: 1491248
Assignee: nobody → adw
Status: NEW → ASSIGNED

(In reply to Drew Willcoxon :adw from comment #2)

Not directly related to this bug, but we need to listen for one-off
selection changes to properly implement search alias highlighting too.

Actually we should be hiding the one offs when you use @ aliases, so I guess that's not necessary after all.

Blocks: 1528024
No longer blocks: 1528024
Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/56992c2597a4
Update search results when the selected one-off button changes. r=dao
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Depends on: 1531295
You need to log in before you can comment on or make changes to this bug.