Closed Bug 334472 Opened 18 years ago Closed 18 years ago

Device manager dialog does not resize properly when using Extra Large Fonts theme

Categories

(Firefox :: Disability Access, defect)

2.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 2 beta2

People

(Reporter: tim.miao, Assigned: pilgrim)

References

Details

(Keywords: access, fixed1.8.1)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050607 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9a1) Gecko/20060416 Firefox/3.0a1

This bug makes some buttons hiden to users.

Reproducible: Always

Steps to Reproduce:
1. Change gnome theme settings, select Launch bar->Desktop->Preferences->Theme,
select High ContrastInverse theme, then click Theme Details button. Select
Controls tab and set HighContrastLargePrintInverse, select Icon tab and set
HighContrastInverse. Then close these two setting dialog.
2. Go to preferences->Advanced tab->Security->Security Devices, Device Manager window pops up.

Actual Results:  
The buttons were covered in current setting window.

Expected Results:  
Buttons should be visible always in window.

This bug can be found on vermillion_09/snv_36 with Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9a1) Gecko/20060416 Firefox/3.0a1. 
If this window was resized to fit the content size, this bug would not be reproducible.

Attached screenshots.
Keywords: access
OS: Other → Solaris
Hardware: Other → Sun
Attached image Screenshot-1
Attached image Screenshot-2
Report a broken website often shows this problem: bug 302054
Confirmed on Windows as well, using High Contrast Blank (extra large) theme from Accessibility Options control panel.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Summary: Dialog content will be covered due to the dialog window size. → Device manager dialog does not resize properly when using Extra Large Fonts theme
The problem is in advanced.js, which opens the dialog with a hard-coded width and height (in pixels).  Removing this allows the dialog to size itself properly according to font size.

This patch also fixes the "View Certificates" and "Revocation Lists" dialog, which have the same problem.
Assignee: nobody → pilgrim
Attachment #222870 - Flags: review?(mconnor)
Target Milestone: --- → Firefox 2 beta1
Attachment #222870 - Flags: review?(mconnor) → review?(bugs.mano)
Blocks: themea11y
OS: Solaris → All
Hardware: Sun → All
Comment on attachment 222870 [details] [diff] [review]
Remove hardcoded width/height in advanced.js

r=mano pending trunk baking.
Attachment #222870 - Flags: review?(bugs.mano) → review+
Attachment #222870 - Flags: approval1.8.1?
Comment on attachment 222870 [details] [diff] [review]
Remove hardcoded width/height in advanced.js

a=drivers, please land on the 1.8.1 branch
Attachment #222870 - Flags: approval1.8.1? → approval1.8.1+
Keywords: sec508
Whiteboard: [checkin needed]
Target Milestone: Firefox 2 beta1 → Firefox 2 beta2
Flags: blocking-firefox2?
mozilla/browser/components/preferences/advanced.js 	1.15.2.10
mozilla/browser/components/preferences/advanced.js 	1.24
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Flags: blocking-firefox2?
Keywords: fixed1.8.1
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Version: unspecified → 2.0 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: