printing a PDF attachment directly from an IMAP message renders incompletely/incorrectly for complex vector content, but works fine once saved locally first.
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: felixalbrecht, Unassigned)
References
Details
Attachments
(1 file)
|
32.70 KB,
application/pdf
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15
Steps to reproduce:
Send a PDF with some clipping or cropping (e.g. in attachment: a matplotlib PDF export) to an IMAP account.
Print the file from that IMAP (or "save as PDF"), and the clippings appear again.
Actual results:
The exported/printed figure doesn't look the same (not even the same as in the preview), the clipped parts (outside of the plotting region for this example) appear again.
This is especially nasty for a latex-compiled PDF with many embedded figures.
Expected results:
The exported PDF should look the same.
Opening the PDF locally (e.g. as an attachment to a new Mail, then opening the preview) and printing from there doesn't produce the error.
It seems to be a bug streaming the file from IMAP.
This bug seems similar to this one: bug 1355350
However the file size is only 33KB for this example
Comment 1•4 months ago
|
||
Please clarify what you do in Thunderbird. How do you open and print?
Also, first upgrade to v152.
| Reporter | ||
Comment 2•4 months ago
|
||
I am on a managed system (virtual machines) with no sudo rights, with a pre-installed Thunderbird version.
However, I recreated the same issue on macOS with Thunderbird 152.0.1 (aarch64)
I open an E-Mail, which was sent to an IMAP inbox, which had the file in the attachment. I double-click on the file in the attachment, which opens an "internal" Firefox window, which is the standard Firefox PDF viewer. From there, I click on the print icon, and then either save to PDF or print on a printer (results are the same). Only in the exported (or printed) version, the issue appears; not in the preview in Thunderbird / embedded firefox PDF reader.
| Reporter | ||
Updated•4 months ago
|
Comment 3•4 months ago
|
||
Version: Thunderbird 140 → Thunderbird 152
FYI, we set version to the earliest known example.``
Updated•3 months ago
|
(In reply to Wayne Mery (:wsmwk) from comment #4)
Antony, can you reproduce?
Nope - on 154.0b3
Though I am not sure of the reproduce steps - i can open a pdf from an imap email without a prob. I edit a pdf and then send to an imap address and it opens as it should.. though opening in Acrobat
if complex layers then it maybe those layers, when you save the pdf i believe it flattens the layers into one, hen e why there is no issue after the save and then open, rather than open from the email direct... just a thought
Comment 6•2 months ago
|
||
I just upgraded some machines to version 154.0 on Windows 11 and I am running into this issue. If a user receives a mail with a pdf attached and they double click, it will open in the built-in pdf viewer just fine. If they try to print it will print blank pages. If they save it and open it in a different PDF viewer (doesn't seem to matter what) then it prints as it should.
Comment 7•2 months ago
|
||
Also hit this bug. Built in PDF viewer works fine, but clicking the Print icon prints a blank page. Worked fine until v154 (Win 11).
(In reply to Tim Gollschewsky from comment #7)
Also hit this bug. Built in PDF viewer works fine, but clicking the Print icon prints a blank page. Worked fine until v154 (Win 11).
I confirm. There is indeed a problem with printing PDFs. The print preview is OK, but only a blank page is printed. (Thunderbird v 154.0 Build 20260818021538, Win11x64)
Comment 9•2 months ago
|
||
(In reply to knor1982 from comment #8)
(In reply to Tim Gollschewsky from comment #7)
Also hit this bug. Built in PDF viewer works fine, but clicking the Print icon prints a blank page. Worked fine until v154 (Win 11).
I confirm. There is indeed a problem with printing PDFs. The print preview is OK, but only a blank page is printed. (Thunderbird v 154.0 Build 20260818021538, Win11x64)
That issue sounds like bug 2057444 which is fixed in 155
Description
•