print, save as pdf, produces empty file (maybe triggered by "alpha" SVG mask-type?)
Categories
(Core :: Printing: Output, defect)
Tracking
()
People
(Reporter: rachel, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko/20100101 Firefox/140.0
Steps to reproduce:
- Fresh new FF profile
- Open the attached HTML file
- Save to PDF
- Wait for the dialog to close
Actual results:
The file doc title here.pdf is created, but is empty (zero bytes long).
Expected results:
Either a valid PDF file should have been created, or a message should have been shown explaining that the save didn't work.
Comment 1•8 months 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.
| Reporter | ||
Comment 2•8 months ago
|
||
This test file, by the way, is the result of me trimming down a page where I experienced the problem, down to a smaller problem space.
The yellow quadrilateral seen in the page was, in the original page, part of the Google Play logo for a "Get it on Google Play" link-to-app button. Somehow, it seems to be that quadrilateral that triggers the bug.
| Reporter | ||
Comment 3•8 months ago
|
||
Simpler fail case
| Reporter | ||
Comment 4•8 months ago
|
||
Simpler success case
| Reporter | ||
Comment 5•8 months ago
|
||
The only difference between with-mask-type-alpha.html and with-mask-type-luminance.html is the mask-type style (and the document title).
alpha produces a 0-byte PDF. luminance produces a valid PDF.
| Reporter | ||
Updated•8 months ago
|
Comment 6•8 months ago
|
||
Thanks for the report, and particularly for reducing the example so thoroughly -- that's really helpful.
It looks like the failure here was recently fixed in bug 1970805 (expected to ship in Firefox 142), so current Nightly versions no longer have this issue. (I'm not certain the resulting rendering is necessarily correct, particularly for more complex cases, but at least it should generate a valid file.)
Description
•