Closed
Bug 332939
Opened 19 years ago
Closed 19 years ago
[regression] Printing fails: once past the print set up page, the progress box sits idle
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: phiw2, Assigned: mark)
Details
(Keywords: hang, regression)
Attachments
(1 file)
1.88 KB,
patch
|
jaas
:
review+
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060405 Camino/1.2+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060405 Camino/1.2+
The print dialogue box loads correctly, but once pressing 'preview', 'print to PDF' or 'Print', a progress bar pops up, but sits idle. Hitting 'cancel' has no effect.
Only solution is to force quit the browser.
Reproducible: Always
Steps to Reproduce:
1. Load page
2. File menu > Print, window comes up correctly
3. 'Print', or 'preview' or select a PDF option
Actual Results:
progress window, idle. Hitting cancel has no effect.
Expected Results:
Print the document
Reporter | ||
Comment 1•19 years ago
|
||
Happens both with Camino and Firefox.
OS X 10.4.6
And here I thought this was just a fluke .. I'm seeing this as well on Camino trunk back to (at least) april 1st. This should probably be Core, not Firefox.
Reporter | ||
Updated•19 years ago
|
Component: General → Printing
Product: Firefox → Core
Version: unspecified → Trunk
Reporter | ||
Comment 3•19 years ago
|
||
regression range:
For Camino
2006032700 works
2006040200 doesn't work
Firefox
Yes - Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060329 Firefox/1.6a1
No - Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060330 Firefox/1.6a1
Based on the Fx regression range http://tinyurl.com/fdlm5 bug 331415 looks like the obvious culprit.
Isn't this the kind of thing that smoketests should catch, or are there none?
Assignee: nobody → printing
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: general
Assignee | ||
Comment 5•19 years ago
|
||
Eli, what do you think? Do you have a Mac to look at this on?
Comment 6•19 years ago
|
||
Possibly a dup of Bug 332806, even though this doesn't appear to be completely crashing; I would have posted a separate patch earlier except I have the patch to bug 332927 in my tree. The basic issue for the crash is at http://lxr.mozilla.org/seamonkey/source/layout/printing/nsPrintEngine.cpp#740; to patch, replace "mPresContext->DeviceContext()" with "mDeviceContext".
I don't have a Mac to look at this on, so it would be nice if you could check and see if that fixes the problem.
Reassigning to myself to deal with it, since I almost certainly caused it, even if it's not what I think it is.
Assignee: printing → sharparrow1
Reporter | ||
Comment 7•19 years ago
|
||
(In reply to comment #6)
> Possibly a dup of Bug 332806, even though this doesn't appear to be completely
> crashing; I would have posted a separate patch earlier except I have the patch
> to bug 332927 in my tree. The basic issue for the crash is at
> http://lxr.mozilla.org/seamonkey/source/layout/printing/nsPrintEngine.cpp#740;
> to patch, replace "mPresContext->DeviceContext()" with "mDeviceContext".
I've just finished building Camino with this mod.
It doesn't change anything.
Comment 8•19 years ago
|
||
Hmm. Hard for me to debug without a Mac. The most likely problem is that some function is failing silently. I think the most helpful thing would be for someone to try stepping through nsPrintEngine::Print() with a debugger, and look for functions returning failure codes. I didn't touch any platform-specific code, so it probably has to do with some difference in the platform-specific print code.
Assignee | ||
Comment 9•19 years ago
|
||
The native print session was being dealloced. I don't really know why this wasn't a problem in the past, but I'm not about to read through a 125kB diff to figure out what changed that triggered this bug.
Attachment #217865 -
Flags: review?(joshmoz) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #217865 -
Flags: superreview?(mikepinkerton)
Comment 10•19 years ago
|
||
Comment on attachment 217865 [details] [diff] [review]
Patch
sr=pink
Attachment #217865 -
Flags: superreview?(mikepinkerton) → superreview+
Assignee | ||
Comment 11•19 years ago
|
||
Fixed!
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 12•19 years ago
|
||
(In reply to comment #11)
> Fixed!
>
I'm not sure...
That works fine with Firefox: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060411 Firefox/3.0a1
But with Camino (2006041200 (1.2+), I get this error message:
'An unknown error occurred while printing.'
Updated•19 years ago
|
Keywords: hang,
regression
You need to log in
before you can comment on or make changes to this bug.
Description
•