Closed Bug 201465 Opened 21 years ago Closed 21 years ago

Window "About Junk Mail" has wrong size

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lizal, Assigned: Stefan.Borggraefe)

References

()

Details

(Keywords: fixed1.5, Whiteboard: [adt3])

Attachments

(3 files, 4 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4a) Gecko/20030401
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4a) Gecko/20030401

WinNT Sp6a, Moz build 2003040105
Window "About Junk Mail" has wrong size in case of certain system fonts, the
buttons OK and Help fall out of the window and the window itself is not resizeable.

Reproducible: Always

Steps to Reproduce:
1. This depends on the resulution and fonts selected in the Windows
ControlPanel>Display>appearance.
2. Click on the questionmark button in the header of junk mail.
3.

Actual Results:  
see attachement

Expected Results:  
properly sized window
Confirmed:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030408

I have my system set with "large fonts" (120 dpi).
Status: UNCONFIRMED → NEW
Ever confirmed: true
A scroll bar would also fix the problem.

(WinXP here, large fonts, no buttons, can't even read all the text.)
*** Bug 204097 has been marked as a duplicate of this bug. ***
I am also affected by this (I don't see any buttons, and miss part of the text).
I think this is important to get right, Junk Mail controls are one of our most
noted features.
Keywords: nsbeta1
adt: nsbeta1+/adt3
Keywords: nsbeta1nsbeta1+
Whiteboard: [adt3]
I have a fix for this.
Assignee: sspitzer → borggraefe
Status: NEW → ASSIGNED
Attached patch Patch (obsolete) — Splinter Review
Get rid of the hard-coded pixel values for the window size and split the text
so the lines don't get to long now.

I also added a small space of 0.5em between "Messages that thinks are junk will
display a junk icon" and the displayed example icon. This looked ugly before.

I'm going to attach some screenshots showing the effect of this patch in a
minute.
Attachment #131873 - Flags: review?(neil.parkwaycc.co.uk)
BTW: Shouldn't the word "Mail" as the program name be replaced with
&brandShortName; in this dialog?
OS: Windows NT → All
Hardware: PC → All
Comment on attachment 131873 [details] [diff] [review]
Patch

Uwrapping the text is wrong. Removing the height is obviously right but I think
the window code assumes a height of 0 if you specify a width; to get around
this I think you need to move the width to the vbox.
Attachment #131873 - Flags: review?(neil.parkwaycc.co.uk) → review-
Attachment #131873 - Attachment is obsolete: true
Attachment #131875 - Attachment is obsolete: true
Attachment #131876 - Attachment is obsolete: true
Attached patch Updated patch (obsolete) — Splinter Review
With Neil's suggestions the patch is even simpler and the paragraphs are saved.
Attachment #131882 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #131882 - Attachment is obsolete: true
Attachment #131882 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch Final patch.Splinter Review
Removed the spacing change for the little Junk Mail Icon. This should better be
fixed in the themes via another bug.
Attachment #131886 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #131886 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #131886 - Flags: superreview?(bienvenu)
Attachment #131886 - Flags: superreview?(bienvenu) → superreview+
Thanks for the reviews and the check-in! :-)

FIXED.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment on attachment 131886 [details] [diff] [review]
Final patch.

Requesting approval for 1.5: This bug makes Mozilla look bad for users who use
Junk Mail detection for the first time. Very low risk.
Attachment #131886 - Flags: approval1.5?
Comment on attachment 131886 [details] [diff] [review]
Final patch.

a=asa (on behalf of drivers) for checkin to the 1.5 branch. Please add the
fixed1.5 keyword when this fix lands on the branch.
Attachment #131886 - Flags: approval1.5? → approval1.5+
Keywords: fixed1.5
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: