Printing PDFs from Firefox is extremely slow (Mac)
Categories
(Core :: Printing: Output, defect)
Tracking
()
People
(Reporter: 4321benny, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0
Steps to reproduce:
I opened a PDF using Firefox and printed it directly from Firefox.
Actual results:
Each page of the document took 2-4 minutes to print (i.e., emerge from the printer) from Firefox.
Expected results:
Each page of the document should have only taken about 30 seconds or less to print. When I try printing from the built-in Mac Preview app, the printing speed is normal, so it is not an issue with the printer itself.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Printing: Output' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
I had to print a form I filled inside pdf.js earlier today, and could reproduce this. Took a solid two minutes for the printer to print, while it was pretty much without delay from Preview.app.
Comment 3•2 years ago
|
||
The severity field is not set for this bug.
:emilio, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 4•2 years ago
|
||
Dennis, if you can repro (sorry, don't have a physical printer with me atm), is there any chance you could take a profile while printing so we know what are we waiting for?
Also, does this repro when printing websites (maybe a random wikipedia page or so) rather than PDFs? Or is it specific to PDF printing somehow? Thanks.
Comment 6•2 years ago
|
||
I just invested quite a bit of time, paper, and toner trying to reproduce this with the original PDF, and couldn't. So unfortunately, this might be something intermittent... I've definitely seen this before this bug existed, but I'm not printing enough to say how often this happens.
I'll keep this bug in mind, and from now on I'll only print with the profiler running, hoping to catch a slow print. But I can't immediately provide a profile here, unfortunately...
Comment 8•2 years ago
|
||
Sure, if you can reproduce this, a profile while printing as described in https://firefox-source-docs.mozilla.org/performance/reporting_a_performance_problem.html would be amazing. Thanks!
Is this profile adequate? If not I can generate another one.
Comment 10•2 years ago
|
||
Yes that's great! Unfortunately the profile shows that there's ~nothing going on... I see the printing code in there (link), and in the right order etc, but EndPrinting seems to be done almost right after you close the print dialog...
Which means that whatever is taking time is somehow in CUPS and not in Firefox. This is not to say it's not necessarily Firefox's fault (it might be that we're sending a too big PDF for the printer or something else?), though that's a bit harder to diagnose...
Wild shot, but if you change print.default_dpi
to something like 72
does it print considerably faster?
Jonathan, any other idea of what might be going on?
Reporter | ||
Comment 11•2 years ago
|
||
Unfortunately, changing print.default_dpi to 72 did not resolve the issue.
Comment 12•2 years ago
|
||
I suspect the recent fix for bug 1789482 may have improved things here. Dennis, were you testing with NIghtly (in comment 2 and comment 6) rather than a Release version? If so, that is probably why you can no longer reproduce.
4321benny, if you try Nightly (see https://www.mozilla.org/en-US/firefox/all/#product-desktop-nightly) does it perform better?
Reporter | ||
Comment 13•2 years ago
|
||
It worked properly using the Nightly browser.
Comment 14•2 years ago
|
||
(In reply to Jonathan Kew [:jfkthame] from comment #12)
Dennis, were you testing with NIghtly (in comment 2 and comment 6) rather than a Release version?
Oh yeah, absolutely. I didn't even think about that!
I can confirm that it's still slow in Release, but there's no issue in Nightly! :)
Reporter | ||
Comment 15•2 years ago
|
||
I noticed that the status of this bug has been updated to "RESOLVED FIXED", but the printing issue persists.
Comment 16•2 years ago
|
||
It is fixed in the current development version (according to comment 13 and comment 14); that's what the "FIXED" resolution here indicates. The fix is due to appear in the main Release channel in Firefox 108, after it completes the beta-testing period.
Reporter | ||
Comment 17•2 years ago
|
||
That's great, thanks for letting me know!
Description
•