Closed Bug 78806 Opened 23 years ago Closed 23 years ago

CertViewer: sizing problems

Categories

(Core Graveyard :: Security: UI, defect)

1.0 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
psm2.0

People

(Reporter: lord, Assigned: javi)

References

Details

Attachments

(5 files)

There are several sizing problems with the CertViewer.  These problems inlclude:

-The window expands to fit the widest field in the General pane (usually the
Subject Name).  That's almost always way too large.

-The window is not resizable
Target Milestone: --- → 2.0
Keywords: mozilla0.9.1
thayes, ddrinan: one of you please review.
r=mcgreer with a caveat on the unneccessary string copy
Blocks: 78399, 78836
Asking blizzard for super review
+  if (redraw) {
+    rowsToDelete = 0-CountNumberOfVisibleRows(mASN1Object);
+  }

That looks odd.  Can you comment that please?

+  nsXPIDLString temp;
+  CERTRDN **lastRdn;
+  lastRdn = rdns;
+  /* find last RDN */
+  lastRdn = rdns;
+  while (*lastRdn) lastRdn++;
+  lastRdn--;

Can you throw some vertical whitespace in there in between the variable
declarations and the actual code?  Stealth code!  And comment the while()
lasRdn-- magic please?

Other than that sr=blizzard
I've made the modifications requested by blizzard and am sending this bug to
drivers@mozilla.org for check-in approval.
There are a lot of cases where inline style appears to be used for formatting. 
In almost every case there are classes in the skin that give the precise amount 
of padding and margin appropriate for specific uses. 

I'd like to see a screenshot of the effect of these patches. It seems there's a 
bunch of other UI details that need to be seen to. Mostly, these details are 
small alignment fixes and a matter of using the right class in the right 
situation. I'd be happy to perform a thorough examination of this chrome over 
the phone, and make recommendations as to what changes need to be made to make 
things fit, size, and align, as they should. Please let me know if you're 
interested. 
(s)r=ben@netscape.com for the latest set of changes. 
a=blizzard for 0.9.1
fix has been checked in. (a=blizzard)
Mark fixed for real this time.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified fixed.
Status: RESOLVED → VERIFIED
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: