Closed Bug 1160143 Opened 9 years ago Closed 9 years ago

Attempt to print PDF file after presentation mode leads to 'There was an unexpected problem while printing.'

Categories

(Firefox :: PDF Viewer, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1132860

People

(Reporter: jhorak, Unassigned)

Details

(Whiteboard: [pdfjs-c-integration][pdfjs-d-printing])

Attachments

(1 file)

53.55 KB, application/pdf
Details
After leaving presentation mode and trying to print PDF file instead of print dialog the 'There was an unexpected problem while printing.' message is displayed. However after a while (like 10-20 seconds and sometimes after some scrolling) trying print again the print dialog is shown.

Following errors are shown before error dialog appears:

[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 460
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 586
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 586
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 586
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 586
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 586
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 586
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 586
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 586
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 586
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8053000B: file /home/jhorak/mozilla/mozilla-central/dom/base/nsNodeUtils.cpp, line 396
[Child 21366] WARNING: NS_ENSURE_TRUE(clonedDOMDoc) failed: file /home/jhorak/mozilla/mozilla-central/layout/printing/nsPrintObject.cpp, line 89
[Child 21366] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file /home/jhorak/mozilla/mozilla-central/layout/printing/nsPrintEngine.cpp, line 544

Problem seems to be with cloning canvas element.

I can reproduce with this document for example: http://fzs.sve-mo.ba/sites/default/files/dokumenti-vijesti/sample.pdf
It appears to happen with pdfs where there are several pages and we haven't rendered everything. We'll need to investigate further though.
Priority: -- → P2
Whiteboard: [pdfjs-c-integration][pdfjs-d-printing]
Attached file sample.pdf
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: