Firefox Nightly 104.0a1 will not print pdf
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox-esr102 | --- | fixed |
firefox103 | --- | unaffected |
firefox104 | --- | verified |
firefox105 | --- | verified |
People
(Reporter: jclaba, Assigned: calixte)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [pdfjs-printing])
Attachments
(4 files)
(deleted),
application/pdf
|
Details | |
(deleted),
text/x-github-pull-request
|
Details | |
(deleted),
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details |
(deleted),
image/gif
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Steps to reproduce:
- Open any pdf with Nightly, viewer works.
- Click print icon, print preview is blank.
- Click print button, prints blank pages.
Actual results:
Updated Nightly, still prints blanks.
cleared printer settings in menu, same.
setup new profile, same.
Adjusted print settings, same.
System Dialog box shows print preview, still prints blanks.
Other browsers (including regular Firefox) work.
Other apps work.
Expected results:
Expected a normal print. This worked fine up to a couple of days ago. Hasn't worked since. I love Firefox, look forward to having this fixed, let me know if I can help.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Printing' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Is this for all PDFs? Printing the US Tax Return [1] document seems to work fine for me. Can you share the document that isn't working if it's a specific one?
Initially, it included all PDFs. It appears to be mostly corrected in the latest release, which I just downloaded (7-13-22). At least one kind of PDF still seems to be affected. They are the AutoCAD generated PDFs. These were not a problem prior to my report of the bug. I did them all the time because I work with ACAD daily. This PDF was generated with AutoCAD LT 2021 on 7-13-22.
Comment 4•2 years ago
|
||
The severity field is not set for this bug.
:mstriemer, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 5•2 years ago
|
||
Hey Calixte, have you seen this issue on the PDF side? Any idea if this is an issue there?
Assignee | ||
Comment 6•2 years ago
|
||
The console outputs:
TypeError: this.optionalContentConfig.isVisible is not a function
beginMarkedContentProps resource://pdf.js/build/pdf.js:8544
executeOperatorList resource://pdf.js/build/pdf.js:6947
_next resource://pdf.js/build/pdf.js:4049
promise callback*_scheduleNext resource://pdf.js/build/pdf.js:4040
_continue resource://pdf.js/build/pdf.js:4030
operatorListChanged resource://pdf.js/build/pdf.js:4017
_renderPageChunk resource://pdf.js/build/pdf.js:2727
pump resource://pdf.js/build/pdf.js:2767
promise callback*pump resource://pdf.js/build/pdf.js:2754
_pumpOperatorList resource://pdf.js/build/pdf.js:2797
render resource://pdf.js/build/pdf.js:2451
mozPrintCallback resource://pdf.js/web/viewer.js:14663
promise callback*__webpack_modules__</composePage/canvas.mozPrintCallback resource://pdf.js/web/viewer.js:14645
composePage resource://pdf.js/web/viewer.js:14638
layout resource://pdf.js/web/viewer.js:14718
beforePrint resource://pdf.js/web/viewer.js:1785
dispatch resource://pdf.js/web/viewer.js:3516
windowBeforePrint resource://pdf.js/web/viewer.js:1940
triggerPrinting resource://pdf.js/web/viewer.js:1822
webViewerPrint resource://pdf.js/web/viewer.js:2276
dispatch resource://pdf.js/web/viewer.js:3516
_bindListeners resource://pdf.js/web/viewer.js:13612
_bindListeners resource://pdf.js/web/viewer.js:13600
Toolbar resource://pdf.js/web/viewer.js:13548
_initializeViewerComponents resource://pdf.js/web/viewer.js:751
initialize resource://pdf.js/web/viewer.js:494
run resource://pdf.js/web/viewer.js:790
webViewerLoad resource://pdf.js/web/viewer.js:14977
EventListener.handleEvent* resource://pdf.js/web/viewer.js:14985
<anonymous> resource://pdf.js/web/viewer.js:14987
<anonymous> resource://pdf.js/web/viewer.js:14989
So it's a pdf.js bug.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 7•2 years ago
|
||
Comment 8•2 years ago
|
||
Given the fix is just a typo fix and the fact that AutoCAD generated PDFs are affected, I'd suggest uplifting the fix to 104.
Assignee | ||
Comment 9•2 years ago
|
||
Assignee | ||
Comment 10•2 years ago
|
||
Comment on attachment 9288456 [details]
Bug 1777693 - Fix printing of PDF containt some optional contents r=#pdfjs-reviewers
Beta/Release Uplift Approval Request
- User impact if declined: Some users may encounter some printing issues with some pdfs containing some Optional Contents.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Print the pdf attached in this bug.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's just a typo and the fix can be easily verified.
- String changes made/needed:
- Is Android affected?: No
Assignee | ||
Updated•2 years ago
|
Comment 11•2 years ago
|
||
hi :calixte! is there an update on getting this landed soon in 105? We only have two betas left for the 104 cycle in order to uplift this.
Comment 12•2 years ago
|
||
Fixed on trunk by way of bug 1783605.
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Comment on attachment 9288456 [details]
Bug 1777693 - Fix printing of PDF containt some optional contents r=#pdfjs-reviewers
ty Ryan!
Approved for 104.0b8
Comment 14•2 years ago
|
||
bugherder uplift |
Comment 15•2 years ago
|
||
Reproduced the initial issue using old Nightly build from 2022-07-01, verified that using latest Nightly 105.0a1 and Firefox 104.0b8 across platforms (Windows 10 64bit, macOS 11.6 and Ubuntu 18.04 the content of the pdf is shown in the preview and after printing. I will go ahead and close this bug as verified fixed.
One issue I saw in Firefox that the sketches are placed differently when in preview and after printed compared to the actual placement of the sketches in the .pdf, I see that Chrome does print the .pdf file as is. This behavior is the same as it was before the this regression was introduced. Is this a known issue?
Comment 16•2 years ago
|
||
Assignee | ||
Comment 17•2 years ago
|
||
Yes it's a known issue, see bug 1714327.
Description
•