About Calendar dialog opens with no height, html content in iframe is invisible

RESOLVED FIXED

Status

RESOLVED FIXED
15 years ago
12 years ago

People

(Reporter: gekacheka, Assigned: mostafah)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608, 20040609

The Help | About Calendar dialog opens with zero content height, so only the
window title and borders are visible.

Reproducible: Always
Steps to Reproduce:
1. Help | about
2.
3.

Actual Results:  
Opens but only frame is visible, no space to show contents.  Can resize frame to
show contents, but should not have to.

Expected Results:  
Opens with visible contents.

regression
(Reporter)

Comment 1

15 years ago
Created attachment 150746 [details] [diff] [review]
calendar.js patch: move displayCalendarVersion, specify a height

Specify a height for the dialog.  About.html content is displayed in an iframe,
but according to bug 80713, iframe cannot automatically size to content, so fix
by specifying a height.  This may not have been the (whole) problem, as the
components around the iframe (tab, button) were not shown either, but
specifying a height does address the problem.

Also moved displayCalendarVersion next to openAboutDialog, and added comments
specifying that displayCalendarVersion is for "about calendar", and
openAboutDialog is for "about sunbird", so it is clearer why there are two
functions (and two xul files, about.xul and aboutDialog.xul) that do similar
things.
(Assignee)

Comment 2

15 years ago
Checked in. Thanks
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.