Closed
Bug 336947
Opened 18 years ago
Closed 18 years ago
Maximum width of location bar/search field is fixed at 2560 pixels
Categories
(Camino Graveyard :: Toolbars & Menus, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla-graveyard, Assigned: froodian)
Details
(Keywords: fixed1.8.1, Whiteboard: [good first bug])
Attachments
(1 file)
1.26 KB,
patch
|
bugzilla-graveyard
:
review+
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
We should measure the width of all available displays and use that instead of hard-coding a max width value. The relevant code is on line 1238 of BrowserWindowController.mm.
Reporter | ||
Updated•18 years ago
|
Whiteboard: [good first bug]
Comment 1•18 years ago
|
||
We should hard-code it, but it should be set to some insanely huge number (which I think was the intention). Maybe something like FLT_MAX.
Assignee | ||
Comment 2•18 years ago
|
||
OK. Since I still can't build (can't reinstall OS X until school is over), I haven't tested this, so uploading a patch may be a no-no in this situation, but it's so ridonkulous that I couldn't resist just doing it. If this was notcool of me, somebody else can feel free to take this, and sorry for the bug/patchspam. :p
Reporter | ||
Comment 3•18 years ago
|
||
Comment on attachment 221201 [details] [diff] [review] Patch to make max FLT_MAX r,sr,a=me :-p Seriously, though, r=me, pending a statement from pink or smfr why we chose 2560 in the first place. cl
Attachment #221201 -
Flags: review? → review?(bugzilla)
Reporter | ||
Comment 4•18 years ago
|
||
Comment on attachment 221201 [details] [diff] [review] Patch to make max FLT_MAX Oops. Forgot to set the flag. Oh, and it's "redonkulous". The "e" is important. cl
Attachment #221201 -
Flags: review?(bugzilla) → review+
Assignee | ||
Comment 5•18 years ago
|
||
Comment on attachment 221201 [details] [diff] [review] Patch to make max FLT_MAX Mike, can you sr this? Assuming that your original intention for the max was indeed just to be 'wicked big', all it'll need is a thumbs-up.
Attachment #221201 -
Flags: superreview?(mikepinkerton)
Comment 6•18 years ago
|
||
That value is from hyatt's original BWC code, so the reason for that particular magic number may forever remain a mystery.
Reporter | ||
Comment 7•18 years ago
|
||
Well, 2560 jumped out at me as the max resolution of a Cinema Display, which is probably where it came from, but methinks Hyatt must've figured no one would ever have a browser window big enough to span two of them ;) cl
Comment 8•18 years ago
|
||
Comment on attachment 221201 [details] [diff] [review] Patch to make max FLT_MAX sr=pink
Attachment #221201 -
Flags: superreview?(mikepinkerton) → superreview+
Whiteboard: [good first bug] → [good first bug][needs checkin]
Comment 9•18 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Whiteboard: [good first bug][needs checkin] → [good first bug]
You need to log in
before you can comment on or make changes to this bug.
Description
•