Closed
Bug 351866
Opened 18 years ago
Closed 18 years ago
Application stalls if attempting to print any December
Categories
(Calendar :: Printing, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Sunbird 0.3
People
(Reporter: sebo.moz, Assigned: jminta)
Details
Attachments
(2 files)
109.52 KB,
application/octet-stream
|
Details | |
1.04 KB,
patch
|
mattwillis
:
first-review+
mvl
:
second-review+
|
Details | Diff | Splinter Review |
Attempting to print any December as Monthly Grid stalls the application. After some while a dialog pops up (Warning: unresponsive script...). Pressing Print afterwards produces an empty paper.
Steps to reproduce:
1. go to any December (Month View)
2. select Print, Monthly Grid
Result: Application does not respond for a while.
using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060908 Calendar/0.3a2+
Reporter | ||
Comment 1•18 years ago
|
||
Request blocking0.3 because printing of Monthly Grid of December is not possible.
Flags: blocking0.3?
Comment 2•18 years ago
|
||
If this is reproducible, we should block on it.
Flags: blocking0.3? → blocking0.3+
Keywords: qawanted
Comment 3•18 years ago
|
||
Confirming on
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060909 Calendar/0.3a2+
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•18 years ago
|
||
So eventually the "Warning: Unresponsive Script" dialog appears.
Clicking on "Debug Script" spat out a stack 238321 lines long (literally).
Most of it is html. Here are some highlights:
------------------------------------------------------------------------
Hit JavaScript "debugger" keyword. JS call stack...
0 anonymous(a = 6, 1, 0,6) ["file:///Users/mwillis/moz/printing/mozilla/obj-i386-apple-darwin8.7.1/dist/CalendarDebug.app/Contents/MacOS/js/calMonthGridPrinter.js":256]
this = [object BackstagePass]
1 [native frame]
2 makeHTMLWeek(sortedList = , targetMonth = 2, date = 2077/03/18 00:00:00 /mozilla.org/20050126_1/America/New_York) ["file:///Users/mwillis/moz/printing/mozilla/obj-i386-apple-darwin8.7.1/dist/CalendarDebug.app/Contents/MacOS/js/calMonthGridPrinter.js":256]
weekRow = <tr>
(html follows...)
Note the "date = 2077/03/18"
I had 2006-12-07 selected when I printed.
It's pretty exceptional. I'll attach it.
Comment 5•18 years ago
|
||
The stack.
Comment 6•18 years ago
|
||
...and just for fun, I tried replicating it in
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060907 Calendar/0.3a2+
...which I did. This gives dmose/jminta's selection patch an alibi, since it wasn't checked in until that evening. (The nightly is from 07:32)
Assignee | ||
Comment 7•18 years ago
|
||
Of course the month will always be less than or equal to 12. :-)
Assignee: nobody → jminta
Status: NEW → ASSIGNED
Attachment #237566 -
Flags: second-review?(dmose)
Attachment #237566 -
Flags: first-review?(mattwillis)
Comment 8•18 years ago
|
||
Comment on attachment 237566 [details] [diff] [review]
.compare
r1=lilmatt
Moving r2 to mvl as dmose is swamped.
Attachment #237566 -
Flags: second-review?(mvl)
Attachment #237566 -
Flags: second-review?(dmose)
Attachment #237566 -
Flags: first-review?(mattwillis)
Attachment #237566 -
Flags: first-review+
Comment 9•18 years ago
|
||
Comment on attachment 237566 [details] [diff] [review]
.compare
r2=mvl
Attachment #237566 -
Flags: second-review?(mvl) → second-review+
Comment 10•18 years ago
|
||
Patch checked in on MOZILLA_1_8_BRANCH and trunk.
-> FIXED
Keywords: qawanted
Comment 11•18 years ago
|
||
Patch checked in on MOZILLA_1_8_BRANCH and trunk.
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 12•18 years ago
|
||
verified with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060917 Calendar/0.3a2+
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•