Closed Bug 1867620 Opened 1 year ago Closed 11 months ago

Avoid updating the in-content search bar placeholders / text from multiple locations when in handoff mode

Categories

(Firefox :: Search, task, P2)

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

Currently the in-content search bar has multiple places where we manage the placeholders and strings when we're in search hand-off mode:

This frequently means that we're updating the strings multiple times and can lead to flickering.

For example, if the browser.urlbar.suggest.searches preference is set to false, then when reloading the newtab page, you can see the placeholder flicker. This is partially because the Search.jsx implementation is incomplete.

I think the best places for these would be contentSearchHandoffUI as that is the primary and central point for handling the handoff UI.

Severity: -- → N/A
Priority: -- → P2

The placeholder text functionality being removed were originally added in various bug 1508388 and bug 1616700 as they're more generally handled by contentSearchHandoffUI.js with improvements like bug 1722395.

Depends on: 1508388, 1616700, 1722395
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0c7ff4e061e3 Avoid updating the in-content search bar placeholders / text from multiple locations when in handoff mode. r=Mardak
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: