Closed Bug 503777 Opened 15 years ago Closed 15 years ago

provide reasonable default windows sizes

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b4

People

(Reporter: mkmelin, Assigned: mkmelin)

Details

Attachments

(1 file)

Attached patch proposed fixSplinter Review
For new users/fresh profiles our default window sizes are really sub-optimal for most people, which gives a bad first impression. 

I propose we change
 o main window: 95%x80% (or 80%x80%) -> 1024xfull height.
 o msg window: 750x500 -> 860xfull height
 o compose window: 640x480 -> 860x800 
 o address book: 750x450 -> 860xfull height

My reasoning is full height means less scrolling, and frankly there are a lot of non-techy people that just don't even bother resizing even if the window is suboptimal for them. For the compose window I think it's too much to have much more height than 800px, it's just so seldom you write mails longer than that.

Widths are harder to justify, but there's some optimal line length and at least for me the the above is it. Longer than that is just slower to read.

The main window width can be debated, but I think if you want larger than above, your best off just maximizing anyway.

The sized won't affect existing users, except for when you run in -safe-mode.

There's some code duplication here, but it's simple code, and I don't know if it's really worth making a complexer helper function.
Attachment #388149 - Flags: ui-review?(clarkbw)
Attachment #388149 - Flags: review?(philringnalda)
How would these new size render on notebooks ?
It's set to use only max height available. Also if the available height is <= 600, we set the window to maximized.

BTW, seamonkey does almost the same for the browser window (in navigator.js), but they have some kind of safeguarding and a bit of a cutoff for linux. I don't think that's needed though, the above worked like a charm when testing.
Attachment #388149 - Flags: ui-review?(clarkbw) → ui-review+
Comment on attachment 388149 [details] [diff] [review]
proposed fix

nice, thanks :)
Attachment #388149 - Flags: review?(philringnalda) → review+
changeset:   3136:39b72728f024
http://hg.mozilla.org/comm-central/rev/39b72728f024

For testers: window sizes should be the new ones with new profiles, or when running in -safe-mode.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Summary: provide sane default windows sizes → provide reasonable default windows sizes
Target Milestone: --- → Thunderbird 3.0b4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: