Closed Bug 1157288 Opened 10 years ago Closed 4 years ago

Printing PDF Causes "Unexpected Error" (Affected By Zoom Level)

Categories

(Firefox :: PDF Viewer, defect, P3)

33 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox41 --- wontfix
firefox43 --- wontfix

People

(Reporter: kevidently, Unassigned)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [pdfjs-c-integration][pdfjs-d-printing][pdfjs-f-regression])

Attachments

(1 file)

Steps To Reproduce: 1. Loaded PDF in Firefox (I used http://www.irs.gov/pub/irs-pdf/fw4.pdf ) 2. Set zoom to >= 125% 3. Attempted to print the PDF What Happened: An error message was displayed ************************* Printer Error There was an unexpected problem while printing. ************************* What Should Have Happened: Should have seen the print dialog window. Additional Notes: When I set the zoom to 120% or less, there was no error message and the print dialog was displayed. System/Build Info: Name: Firefox Version: 39.0a2 Build ID: 20150422004009 Update Channel: aurora User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:39.0) Gecko/20100101 Firefox/39.0
I tried ith FF40 on Win 7, no issue. I'm able to print (ith a virtual printer) the PDF with a zoom at 140%. Does it work with a virtual printer?
Flags: needinfo?(kevidently)
Just tested in FF40. I tried with CUPS-PDF virtual printer. I tried setting the system default printer to CUPS-PDF and also set that as the printer in "Page Setup". I am seeing the exact same behavior as described above. FWIW attaching screen shot of error message. Maybe a Mac specific issue? Name: Firefox Version: 40.0a1 Build ID: 20150425030208 Update Channel: nightly User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:40.0) Gecko/20100101 Firefox/40.0
Flags: needinfo?(kevidently)
(In reply to kevidently from comment #2) >Maybe a Mac specific issue? It could be, yes. Is the current FF37 affected by this issue too?
(In reply to Loic from comment #4) Yes I see this error in FF37 as well.
Ok, I see the issue with the resolution set at 100% in Win 7 (I was at 125% by default). Regression range: good=2014-08-20 bad=2014-08-21 http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ffdd1a398105&tochange=dac8b4a0bd7c Maybe a dupe.
Keywords: regression
Please describe detailed steps(step by step, zoom where?)
STR: 1) Set Windows resolution at 100% 2) Open http://www.irs.gov/pub/irs-pdf/fw4.pdf 3) Set the "automatic zoom" to 140% or 150% in PDF Viewer 4) Ctrl+P Result: unexpected error when printing
Thanks, On Windows7, I got a different range. STR: 1) Set Windows resolution at 100% 2) Open http://www.irs.gov/pub/irs-pdf/fw4.pdf 3) Set the "automatic zoom" to 100% in PDF Viewer 4) Ctrl+P, then [Cancel] when print dialog pops up 5) Repeat step 4) with different zoom level(125%, 150%, 200%, 100%, 125%, ...) until error comes up. (maybe few times) Result: unexpected error when printing Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=888d54549b20&tochange=22ddd7bc3689 Triggered by: 0a116777ec21 Ryan VanderMeulen — Bug 1025878 - Update pdf.js to version 1.0.370. r=yury
Well, I tested again with resolution at 125% in Win 7, I'm able to reproduce it by selecting a huge automatic zoom like 300 or 400% And I got a similar regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bb35d1b73634&tochange=37f08ddaea48 with Ryan VanderMeulen — Bug 1025878 - Update pdf.js to version 1.0.370. r=yury probably triggered by: #4942 Add larger zoom values to zoom dropdown box
Blocks: 1025878
Version: 39 Branch → 33 Branch
Priority: -- → P2
Whiteboard: [pdfjs-c-integration][pdfjs-d-printing][pdfjs-f-regression]
The bug seems to have been confirmed a while ago and apparently still reproduces in Firefox 41 beta 7.
Status: UNCONFIRMED → NEW
Ever confirmed: true
We were able to reproduce this issue on Firefox 43 beta 6 under Mac OS X 10.9.5 and also using Windows 7 64-bit and Ubuntu 14.04 32-bit.
OS: Mac OS X → All
Hardware: x86 → All
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
No longer blocks: 1025878
Regressed by: 1025878

Is this still reproducible?

Flags: needinfo?(vasilica.mihasca)
Flags: needinfo?(alice0775)

I cannot reproduce in 91.0.3esr - 97.0a1 wondows10.

Flags: needinfo?(alice0775)

Let's call this fixed then.
It'd be nice to know what fixed it.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(vasilica.mihasca)
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: