Open Bug 1450125 Opened 3 years ago Updated 2 years ago

The "Add Search Engine" page action button doesn't have a plus-sign (+) badge when it's in the urlbar/address bar/location bar

Categories

(Firefox :: Address Bar, enhancement, P5)

enhancement

Tracking

()

Tracking Status
firefox61 --- affected

People

(Reporter: adw, Unassigned)

References

Details

(Whiteboard: [fxsearch])

In the page action panel, the "Add Search Engine" action's icon is the page's favicon with a plus-sign (+) badge.  But if you add the action to the urlbar, it's only the favicon, no badge.

The reason is that the button in the panel is a toolbarbutton.badged-button, but the button in the urlbar is only an <image>.  I don't think <image>s support badges, but tbh I'm not sure.  It's probably possible to make it a toolbarbutton because as proof by example there's at least one toolbarbutton in the urlbar already, #urlbar-zoom-button.  But it would require modifying BrowserPageActions because currently it always creates <image>s for buttons in the urlbar.
See Also: → 1449947
You need to log in before you can comment on or make changes to this bug.