Closed Bug 345572 Opened 19 years ago Closed 18 years ago

In Options window tab Main bottom border line missing

Categories

(Firefox :: Settings UI, defect)

2.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 2

People

(Reporter: ria.klaassen, Assigned: Waldo)

References

Details

(Keywords: polish, regression, verified1.8.1)

Attachments

(4 files)

See screenshot I'll attach.
Attached image Options window (deleted) —
Severity: normal → minor
I'm actually seeing this on Linux, too, believe it or not. Either the height or width of the dialog needs to be made larger.
Severity: minor → normal
OS: Windows XP → All
Hardware: PC → All
*** Bug 345808 has been marked as a duplicate of this bug. ***
Assignee: nobody → jwalden+bmo
Version: Trunk → 2.0 Branch
*** Bug 347275 has been marked as a duplicate of this bug. ***
adding regression since this is new (as of the options dialog rewrite) it doesn't block FF2b2, but would be nice to fix. (I'm hoping beltzner / mconnor / ben agree)
Keywords: regression
I suppose that this is the same (or at least a similar) issue which also causes the Profile Manager to look slightly skewed: we display two lines of text but during the layout the frame claims to be only one line high and it doesn't trigger a reflow when it becomes obvious that that one line isn't enough. Cheap work-arounds: shorten the checkbox's label or add an explicit style="height: 5ex;" to the checkbox (from a l10n perspective the latter is better, although even two lines might not be enough for some languages).
> I suppose that this is the same (or at least a similar) issue which also causes > the Profile Manager to look slightly skewed: we display two lines of text but > during the layout the frame claims to be only one line high and it doesn't > trigger a reflow when it becomes obvious that that one line isn't enough. is there a bug on that? > Cheap work-arounds: shorten the checkbox's label or add an explicit > style="height: 5ex;" to the checkbox (from a l10n perspective the latter is > better, although even two lines might not be enough for some languages). thanks for the suggestion, simon. Using the dom inspector, I confirmed that your work around fixes the problem.
(In reply to comment #8) > is there a bug on that? Bug 343964 and/or bug 321984 (depending on which gets duped). There's probably more.
Attached patch Patch (deleted) — Splinter Review
Attachment #232575 - Flags: review?(mconnor)
Status: NEW → ASSIGNED
Flags: blocking-firefox2?
Comment on attachment 232575 [details] [diff] [review] Patch >+<!ENTITY alwaysCheckDefault.height "3em"> Nit: em measures the width, ex the height of a character. Your patch might break for fonts with an extreme width/height proportion. Rather use the proposed 5ex (2ex per line and 1ex per line spacing - although that might be slightly off as well).
Attachment #232575 - Flags: review?(mconnor) → review+
Blocking, let's get in on trunk and an a? on it ASAP, please.
Flags: blocking-firefox2? → blocking-firefox2+
Target Milestone: --- → Firefox 2
(In reply to comment #11) > Nit: em measures the width, ex the height of a character. Incorrect. See CSS2.1 section 4.3.2; the em unit's equal to the computed value of the font-size property of the element or its parent, depending on context, and it may be used for vertical or horizontal measurement. Patch checked in on trunk, with the request for branch approval in a sec...
Attachment #232575 - Flags: approval1.8.1?
Comment on attachment 232575 [details] [diff] [review] Patch Kinda ugly, but we'll take it!
Attachment #232575 - Flags: approval1.8.1? → approval1.8.1+
In on branch.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060815 BonEcho/2.0b1 ID:2006081523 the line (right of "System default") is missing. http://img128.imageshack.us/img128/2265/prefce3.jpg another bug ?
(In reply to comment #16) > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060815 > BonEcho/2.0b1 ID:2006081523 > > the line (right of "System default") is missing. > http://img128.imageshack.us/img128/2265/prefce3.jpg > > another bug ? > I don't see that, but the missing space at the bottom seems to have got worse: http://cgi.tolien.co.uk/pics/ffprefs.jpg especially since bug 346044 landed on branch. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060816 BonEcho/2.0b1 ID:2006081606
(In reply to comment #17) > I don't see that, but the missing space at the bottom seems to have got worse: > http://cgi.tolien.co.uk/pics/ffprefs.jpg > > especially since bug 346044 landed on branch. > > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060816 > BonEcho/2.0b1 ID:2006081606 > mayby this is OS Theme issue. with XP default Theme, the line next to "Download" is missing. http://img47.imageshack.us/img47/2218/xpdefaultthemeib4.jpg
(In reply to comment #19) > > mayby this is OS Theme issue. > with XP default Theme, the line next to "Download" is missing. > http://img47.imageshack.us/img47/2218/xpdefaultthemeib4.jpg > The cropping issue fixes with the default XP theme, but I also don't see the missing line: http://cgi.tolien.co.uk/pics/ffprefsdefaultxp.jpg
(In reply to comment #20) > (In reply to comment #19) > > > > mayby this is OS Theme issue. > > with XP default Theme, the line next to "Download" is missing. > > http://img47.imageshack.us/img47/2218/xpdefaultthemeib4.jpg > > > > The cropping issue fixes with the default XP theme, but I also don't see the > missing line: > http://cgi.tolien.co.uk/pics/ffprefsdefaultxp.jpg seems to be system font size(family) issue. tahoma/8pt http://img156.imageshack.us/img156/121/tahoma8ptng7.jpg segoe/9pt http://img149.imageshack.us/img149/8514/segoe9ptin4.jpg calibri/9pt http://img156.imageshack.us/img156/1131/calibri9ptxr8.jpg [XP default theme] standard font size http://img106.imageshack.us/img106/830/xpstdje5.jpg large font size http://img114.imageshack.us/img114/8373/xplargedm5.jpg can this be fixed?
We break with non-default font families/sizes. We always have and probably always will. So what we do is tailor the options dialog to best fit the default font size/family. See the bug Ria mentioned in comment 18. The issue you're seeing is beyond the scope of this bug, so please stop commenting.
verfied with Windows 2000 SP4 and Windows XP SP2 and standard font families/sizes with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1b2) Gecko/20060829 BonEcho/2.0b2
Status: RESOLVED → VERIFIED
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b2) Gecko/20060828 BonEcho/2.0b2 Looks good on Linux, too.
Note, this fix causes some ugly side effects, in some themes where there is a border around the checkbox. See the screenshot I'll attach.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Note, this is caused by an hardcoded 'height:3em' in: /browser/locales/en-US/chrome/browser/preferences/main.dtd, line 44 -- <!ENTITY alwaysCheckDefault.height "3em">
Please file a new bug for that issue.
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: