Closed
Bug 220050
Opened 22 years ago
Closed 22 years ago
can't print calendar
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: morearty, Assigned: mostafah)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Build Identifier: sunbird 0.1
when clicking on "print active calendar" nothing happen
every time
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Expected Results:
pprin the active calendar
For me under Red Hat 9, "Print Active Calendars..." appears to start to create
the dialog window for this function, but fails before the window can be
sucessfully displayed.
1. Start calendar.
2. Look at "Window" menu. Note open windows such as "1 mozill.org - Mozilla", "2
Mozilla Calendar"
3. Select "File" -> "Print Active Calendars..."
4. Wait, no dialog appears. Look at "Window" memu, note new window entry with no
title such as "3 ". Selecting this new entry does nothing.
The same thing happens with Mozilla 1.4 (release) and 1.5 (release) build from
source.
I would be happy help provide more debugging info if I can. I found
printDialog.js and .xul in the source code, but unfortunately Javascript is not
one of the programing languages I know. If anyone can tell me what to do to
narrow down where in the code the problem is, I'd try my best.
Comment 2•22 years ago
|
||
Works for me with Mozilla 1.4 on windows.
Do you have any message in the javascript console ?
Eric,
Thank you for suggesting to look for messages on the javascript console.
For Mozilla 1.5 (built from source, with debug enabled, on Red Hat 9)
Starting Calendar gives two errors on the JavaScript Console:
Error: Expected color but fouund 'rdf'. Error in parsing value for
property 'backgound-color'. Declaration dropped.
Source File: chrome://calendar/content/calendar.xul Line:1
Error: Error in parsing value for property '-moz-opacity'. Declaration
dropped.
Source File: chrome://calendar/skin/calendar.css
Since the calendar does start properly, my guess is that these messages are not
so important. Selecting "Print active calendars" does not cause any new error
messages to appear.
If this information was helpful, great. Otherwise, any other suggestions of
things to look at would be welcome.
The reason why the "Print active calendars..." dialog did not appear
was that printDialog.xul and printDialog.js were not included in the
calendar's jar file. The cause of this was that these files were not
listed in the manifest file used to create the jar file. The source
release for both Mozilla 1.4 and 1.5 have this problem.
To see whether or not a particular build has this problem (under
Linux/Unix):
jar -tf dist/bin/chrome/calendar.jar | grep Dialog
I added the following lines to manifest file jar.mn in directory
calendar/resources:
content/calendar/printDialog.xul (content/printDialog.xul)
content/calendar/printDialog.js (content/printDialog.js)
A "make" after this change solved the problem. (Actually, this solved
my problem, I don't really know whether the original bug submitter's
problem was the same or not.)
Many thanks to Eric Belhaire, who gave me the help I needed to start
debugging.
I'm hoping that someone will rush out and patch the source. If I need to
do anything else, please ask.
Assignee | ||
Comment 5•22 years ago
|
||
Thanks for spotting the problem. The two files are now listed in jar.mn.
Fixed in CVS.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 6•19 years ago
|
||
The bugspam monkeys have been set free and are feeding on Calendar :: General. Be afraid for your sanity!
QA Contact: gurganbl → general
You need to log in
before you can comment on or make changes to this bug.
Description
•