Closed Bug 1668370 Opened 4 years ago Closed 4 years ago

Cycling through local one-offs changes the engine name in keywordoffer results

Categories

(Firefox :: Address Bar, defect, P1)

defect
Points:
2

Tracking

()

RESOLVED FIXED
83 Branch
Iteration:
83.2 - Oct 5 - Oct 18
Tracking Status
firefox-esr78 --- unaffected
firefox81 --- unaffected
firefox82 --- unaffected
firefox83 --- fixed

People

(Reporter: bugzilla, Assigned: mak)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  1. Have at least one search shortcut Top Site. This STR uses Google, but any engine will do.
  2. Open the Urlbar without a search string and arrow down to the one-offs.
  3. Observe the Google Top Site result reads "Search with Google"
  4. Arrow down to the bookmark one-off.

Expected results:
The Google Top Site result reads "Search with Google"

Actual results:
The Google Top Site result reads "Search with Bookmarks"

Notes:

  • The Top Site result text continues to change as you arrow over to the Tabs and History one-offs.
  • Clicking the Top Site result with the changed text opens the original engine's search mode, as expected. Google, in this example.

Oh! I think this should be fixed by bug 1647923. The problem is that keywordoffer results use their action text as their title. I think that was a workaround to avoid having to localize a result's title. Bug 1658629 changes the keywordoffer's action text when cycling to the local one-offs and thus changes its title. Bug 1647923 changes keywordoffer results to set a title instead of using their action text as one. I'll verify this is fixed once bug 1647923 is merged.

Depends on: 1647923
Severity: S4 → S3

Not fixed yet, afaict. Indeed now the shortcut shows the action text (as Search Bookmarks) while it shouldn't. Fwiw, we should not change the action text of keywordoffer, even when cycling through one-offs. It's probably a case I missed.

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

Assignee: nobody → mak
Status: NEW → ASSIGNED
Iteration: --- → 83.1 - Sept 21 - Oct 4
Iteration: 83.1 - Sept 21 - Oct 4 → 83.2 - Oct 5 - Oct 18
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/3a639b0c8982 Cycling through local one-offs changes the engine name in keywordoffer results. r=harry
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: