Closed Bug 1318848 Opened 8 years ago Closed 4 years ago

results left offset doesn't take <toolbaritem> nodes into account

Categories

(Firefox :: Address Bar, defect, P3)

50 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: plaetaggou, Unassigned)

Details

(Whiteboard: [fxsearch])

Attachments

(1 file)

a couple releases ago, the location bar search results dropdown was changed, and now it expands horizontally to fill the width of the screen. the results listed inside have a left offset determined by the sum of widths of items placed to the left of the location bar -- this allows the results text to line up with the location bar text ...

but the left offset doesn't take into account <toolbaritem> nodes. in troubleshooting, simply changing a <toolbaritem> to <toolbarbutton> using inspector allowed the location bar to correctly offset the search results. please reference attached image which illustrates the problem, as well as how it's supposed to align.
Right, by default we considered users putting toolbarbuttons there, we don't have a lot of toolbaritems in the palette. But we could likely support them

http://searchfox.org/mozilla-central/rev/935627b015aaabbd2dffa90cce051521f22dd7e6/browser/base/content/urlbarBindings.xml#1618
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [fxsearch]

This is now outdated

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: