Closed Bug 94384 Opened 23 years ago Closed 8 years ago

Workaround for xul sizing problem to be removed once is bug# 91137 fixed

Categories

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

1.0 Branch
x86
Windows NT
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 124241

People

(Reporter: rangansen, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [kerh-cuz])

To resolve the xul window sizing problem [ bug#91137 ] we have the following
workaround - which is a very uncomfortable thing to have. 

var xulWindow = document.getElementById("serverCertExpired");
var wdth = window.innerWidth; // THIS IS NEEDED,
window.sizeToContent();
xulWindow.setAttribute("width",window.innerWidth + 30);
var hght = window.innerHeight; // THIS IS NEEDED,
window.sizeToContent();
xulWindow.setAttribute("height",window.innerHeight + 40);
  
This should be removed once bug# 91137 is fixed. The patches that use this
workaround are:
bug# 92213
bug# 85792
bug# 78615

It would be a good idea to add any patch that uses this workaround to this list.
Making the bug depend on 91137.
target->future.
p3
Depends on: 91137
Priority: -- → P2
Target Milestone: --- → Future
Version: unspecified → 2.1
This fix also concerns bug 89420 and perhaps should concern bug 75596 as well...

The latter (the unknown CA/new server dialog) works for me, since it uses
style="width: 123em..." for sizing. However, there might still be problems once
the dialog is internationalized, since the length of the text will vary.
this workaround fix was applied to the unknown CA -dialog in bug 93083
...applied to 101760 as well ...
QA Contact: ckritzer → junruh
reassign former PSM engineers' bugs to nobody
Assignee: rangansen → nobody
QA Contact: junruh → nobody
Target Milestone: Future → ---
Product: PSM → Core
Whiteboard: [kerh-cuz]
QA Contact: nobody → ui
Version: psm2.1 → 1.0 Branch
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.