Closed Bug 421773 Opened 17 years ago Closed 17 years ago

autocomplete (awesome bar) shows a non-integer number of items (half height entries) if some pages lack titles

Categories

(Firefox :: Address Bar, defect)

defect
Not set
minor

Tracking

()

VERIFIED FIXED
Firefox 3

People

(Reporter: jruderman, Assigned: Mardak)

References

Details

(Keywords: regression, Whiteboard: [has fix in bug 424213])

Attachments

(1 file)

Attached image screenshot
For a while I've been noticing that sometimes Firefox shows a non-integer number of autocomplete results. I just figured out what triggers it: pages without titles. Their rows in autocomplete are shorter, causing part of an extra entry to appear. (Ideally, some title would be shown, but I think that's mostly orthogonal to the menu-layout issue.)
The effect isn't as big when the font size is smaller, but we're calculating the height of the whole popup based on <the number of results> times <the height of the first row>. The heights are different because the font sizes forces the row to be bigger (and actually prevents the favicon from butting against the top of the row).
Summary: Awesomecomplete shows a non-integer number of items if some pages lack titles → autocomplete (awesome bar) shows a non-integer number of items (half height entries) if some pages lack titles
Depends on: 424213
stephend: Visit a page that doesn't have a title like http://ed.agadak.net/blank and search for that page. Make sure it has a title.
Assignee: nobody → edilee
OS: Mac OS X → All
Hardware: PC → All
Whiteboard: [has fix in bug 424213]
Target Milestone: --- → Firefox 3
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Verified FIXED using: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008043004 Minefield/3.0pre Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008043004 Minefield/3.0pre Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008043007 Minefield/3.0pre in-litmus+: https://litmus.mozilla.org/show_test.cgi?id=5310
Status: RESOLVED → VERIFIED
Flags: in-litmus? → in-litmus+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: