Closed Bug 349343 Opened 18 years ago Closed 18 years ago

Tabs pane of preferences has mucho whitespace on Mac

Categories

(Firefox :: Settings UI, defect, P1)

2.0 Branch
PowerPC
macOS
defect

Tracking

()

VERIFIED FIXED
Firefox 2

People

(Reporter: mtschrep, Assigned: asaf)

References

Details

(Keywords: fixed1.8.1)

Attachments

(2 files)

Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1b2) Gecko/20060819 BonEcho/2.0b2

Please see the attached screenshot - on the 8-19 BonEcho build the "Tabs" panel on the prefs dialog has about half of the bottom section with whitepace.
Flags: blocking-firefox2?
Keywords: polish
If you want to feel better about your Mac whitespace, try this: in a 0819 Windows build, close the prefs window with Security as the current pane, set the pref browser.preferences.animateFadeIn (the one that gives the Mac resizing pref panes) to true, reopen prefs, and switch to the Tabs pane. At least on my 1024x768 display, that stretches the window to the full height of the display, so it's just barely possible to get the Close button into view.

I'm guessing bug 349098.
Blocks: 349098
Even more "fun": with a Mac build, close prefs with the Tabs pane current, then reopen, Tabs won't have extra whitespace, but when you change to Content it will expand massively, and when you switch back to Tabs it will expand even more.
Attached patch prefwindow-binding fix (deleted) — Splinter Review
While working on this, I noticed how broken the animation code is (In particular, the contentHeight property together with the fact that pane._currentHeight is never set back to zero), I've a patch for that too here, but it has some issues. :-/
Attachment #234646 - Flags: review?(mconnor)
Attachment #234646 - Flags: approval1.8.1?
Assignee: nobody → bugs.mano
Priority: -- → P1
Target Milestone: --- → Firefox 2 beta2
Status: NEW → ASSIGNED
Attachment #234646 - Attachment description: preferences-binding fix → prefwindow-binding fix
Comment on attachment 234646 [details] [diff] [review]
prefwindow-binding fix

r=me, this actually is important, especially for extensions that can't preprocess
Attachment #234646 - Flags: review?(mconnor) → review+
*** Bug 349434 has been marked as a duplicate of this bug. ***
Flags: blocking-firefox2? → blocking-firefox2+
Whiteboard: [Fx2 theme change]
Target Milestone: Firefox 2 beta2 → Firefox 2
Target Milestone: Firefox 2 → Firefox 2 beta2
Whiteboard: [Fx2 theme change]
Drivers: this is a pretty serious regression from bug 349098, switching between the prefpanes after the tabs pane is selected breaks the prefwindow as it can become higher than the entire available height. I've tested the patch with the three panes the patch might affect and they've not regressed.

Nominating for b2.
Keywords: polish
(In reply to comment #7)
> Drivers: this is a pretty serious regression from bug 349098, switching between
> the prefpanes after the tabs pane is selected breaks the prefwindow as it can
> become higher than the entire available height. I've tested the patch with the
> three panes the patch might affect and they've not regressed.
> 
> Nominating for b2.
> 

Here is a screenshot on Windows showing how bad it can be.

https://bugzilla.mozilla.org/attachment.cgi?id=234699

Notice that the dialog buttons are not visible at all.

I've also tested the patch and it seems to work fine.
Because it's possible to get the original window size back, we're not going to respin specifically for this bug. It will be release noted, though.
Keywords: relnote
Whiteboard: [Fx2b2 rider]
Target Milestone: Firefox 2 beta2 → Firefox 2
Whiteboard: [Fx2b2 rider] → [Fx2b2 rider][181approval pending]
Is it possible that your patch caused a regression in the way the "Content" panel of the prefs is displayed on the Mac? 
Since this is the not-checked-in-yet fix for that, "no".
Yup, sounds plausible. ;) Sorry!!
Comment on attachment 234646 [details] [diff] [review]
prefwindow-binding fix

a=schrep for drivers - approving all 181pending bugs now that tree is open.
Attachment #234646 - Flags: approval1.8.1? → approval1.8.1+
Comment on attachment 234646 [details] [diff] [review]
prefwindow-binding fix

a=schrep for drivers - approving all [181approval pending] bugs now that tree is open.
1.8 branch: mozilla/toolkit/content/widgets/preferences.xml 1.31.2.23
trunk: mozilla/toolkit/content/widgets/preferences.xml 1.56
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: relnotefixed1.8.1
Resolution: --- → FIXED
Whiteboard: [Fx2b2 rider][181approval pending]
*** Bug 351286 has been marked as a duplicate of this bug. ***
Depends on: 355469
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: