Closed Bug 75596 Opened 24 years ago Closed 24 years ago

new server dialog mis-sized (too short)

Categories

(Core Graveyard :: Security: UI, defect, P1)

1.0 Branch
defect

Tracking

(Not tracked)

VERIFIED FIXED
psm2.0

People

(Reporter: bzbarsky, Assigned: javi)

References

()

Details

(Whiteboard: PDT+; patch available, critical for 0.9.2 reopened.)

Attachments

(6 files)

BUILD: linux 2001-04-11 CVS with PSM2 DISPLAY: 1280x1024 19" monitor, 75dpi, 75DPI fonts. STEPS TO REPRODUCE: 1) Go to https://www.rsiaa.org/rsiauth/cgi-bin/home.pl EXPECTED RESULTS: The dialog is sized correctly. ACTUAL RESULTS: The dialog is too short -- one cannot see the third radio button and the OK/Cancel buttons. Combined with bug 75595, this makes the dialog unusable.
Attached image Screenshot
OK, upon some investigation, there are actually two separate issues here: 1) The initial window height is specified as 360px. This is not big enough 2) If the initial height specification is taken out, the window is sized correctly for its original content. However, when the setText() calls in onLoad happen the height of the content increases. The window does not size to accomodate this.
Blocks: 75615
Milestone 2.0.
OS: Linux → All
Priority: -- → P2
Hardware: PC → All
Target Milestone: --- → 2.0
*** Bug 75615 has been marked as a duplicate of this bug. ***
Reporter: Is this still a problem? It looks fixed on my WinME box.
*** Bug 76141 has been marked as a duplicate of this bug. ***
I won't be able to test this correctly till Monday (I don't have access to the one box I have around on which I saw it till then). I'll report back on Monday. Nothing has checked about the dialog XUL or JS.... has there been a generic dialog-sizing checkin I missed?
Er.... I mean "nothing has changed", not "nothing has checked"
This has gotten worse. Seeing it with a debug build from 2001-05-05 on my home computer. Migrated NS 4.x profile. Resolution 1152x864, 100dpi. I've tried setting mozilla's DPI setting to 0,80, and 96. All look about the same -- the font size changes but not enough to compensate for the size of the dialog. One other note. The <separator> elements in this dialog are far too tall.
I Dunno - see this attachment. This is under Win2k, 1280x1024 96dpi. Perhaps this is a non-Windows issue?
*** Bug 79046 has been marked as a duplicate of this bug. ***
It seems that somebody tried to cut corners and hardcoded the dialog height, because dynamic sizing did/does not work. Now, this can be just right for Ken, but it can't possibly work on all installation. For sure it doesn't on mine.
Soo.... simple way to reproduce is to put * { font-size: 15pt } in userChrome.css. I have a friend who's done that to make the fonts readable (bad vision) and this bites him all the time. I've tested some more on a variety of systems and I have come to the conclusion that it all depends on the font one is using by default. The original system I tested on is identical (same screen/dpi/resolution) to a system which worksforme, so it must be a matter of fonts. I can certainly attach some screenshots as I retest this on a variety of setups... The point is that the dialog is not doing sizing correctly so it's a problem for some font setups.
Tried another Linux box (debian 2.2 default install, 1280x1024, 75dpi, Mozilla set to 96 dpi). Looks identical to attachment 30452 [details]
This definately seems to be affecting Unix/Linux boxen more than windows systems. However if the problem really is as Boris suggests, then It's safe to assume that it can be exhibited on ANY os, given the right fontset or dpi settings.
*** Bug 79454 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 75610 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
reopening... Why exactly is this a dup of bug 75610?? This is about the dialog not being sized properly to start with. 75610 is about the dialog not drawing parts that used to be obscured when it is resized. 75610 applies to all modal dialogs. This one is only a problem with this particular dialog that happends to be doing some weird things with dynamic text insertion and setting a fixed height.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
*** Bug 79647 has been marked as a duplicate of this bug. ***
Depends on: 76248
*** Bug 80903 has been marked as a duplicate of this bug. ***
*** Bug 80914 has been marked as a duplicate of this bug. ***
*** Bug 79843 has been marked as a duplicate of this bug. ***
*** Bug 75615 has been marked as a duplicate of this bug. ***
*** Bug 76628 has been marked as a duplicate of this bug. ***
Assigning to javi.
Assignee: ddrinan → javi
Status: REOPENED → NEW
*** Bug 85985 has been marked as a duplicate of this bug. ***
*** Bug 86024 has been marked as a duplicate of this bug. ***
Adding mostfreq at 10 dups.
Keywords: mostfreq
*** Bug 86211 has been marked as a duplicate of this bug. ***
*** Bug 86111 has been marked as a duplicate of this bug. ***
*** Bug 86580 has been marked as a duplicate of this bug. ***
There is a xul rendering bug at play here. If I remove the width/height attributes from the xul source, the dialog should automagically size itself. But I'm not seeing that at all. :( It looks like we'll have to leave in hard-coded width and height for now and just add key press events to the dialog.
Please see item 2 of my comment from 2001-04-11 13:24. Perhaps a call to sizeToContent() would be in order here? I tried that at some point and it did not help, but maybe I just put it in the wrong place... sizeToContent() is also somewhat buggy on Linux, so testing that on a Windows system where this bug happens would be nice. At the very least, I would recommend making the default height 400px. This should still be fine on 640x480 screens and will help things a lot...
-> P1
Priority: P2 → P1
*** Bug 86836 has been marked as a duplicate of this bug. ***
PDT for PSM
Whiteboard: PDT
*** Bug 86907 has been marked as a duplicate of this bug. ***
PDT+ as per Steve Elmeer 6/20/2001
Whiteboard: PDT → PDT+
ddrinan: Please review.
r=ddrinan
Whiteboard: PDT+ → PDT+; patch available
sr=blizzard
a= asa@mozilla.org for checkin to 0.9.2 closed tree. (on behalf of drivers)
*** Bug 86292 has been marked as a duplicate of this bug. ***
patch checked in.
marking fixed for real this time.
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
Whiteboard: PDT+; patch available → PDT+; patch available, critical for 0.9.2
Reopening. This patch also needs to be applied to Expired Cert and Cert Name non-match dialog boxes.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
r=mcgreer
see related bug 87203.
Whiteboard: PDT+; patch available, critical for 0.9.2 → PDT+; patch available, critical for 0.9.2 reopened.
Blocks: 87203
sr=blizzard
*** Bug 87427 has been marked as a duplicate of this bug. ***
a=chofmann 092 branch and trunk
Patch checked into trunk and branch.
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
*** Bug 84796 has been marked as a duplicate of this bug. ***
Re-opening due to Buig 87451 (typo in patch)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
checked in fix for typo.
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
Verified.
Status: RESOLVED → VERIFIED
*** Bug 89521 has been marked as a duplicate of this bug. ***
I still have the problem using Win32 2001070604 build. (installed from scratch, of course)
*** Bug 87203 has been marked as a duplicate of this bug. ***
*** Bug 94391 has been marked as a duplicate of this bug. ***
Hey, I suggest to make that dialog user resizable. I would be fine with that and could close 94956 that I entered and that quickly was marked as duplicate of this one. BTW, I use Win98SE german with "Große Schriftarten" (could mean "big fonts" in English in Win9x's screen properties dialog) @ 1152x864x32 Build is 0.9.3/2001080110
*** Bug 114214 has been marked as a duplicate of this bug. ***
Product: PSM → Core
Version: psm2.0 → 1.0 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: