Notify user if PDF generation fails
Categories
(Toolkit :: Printing, defect)
Tracking
()
People
(Reporter: jfkthame, Unassigned)
References
Details
Spinning this off from bug 1895872 comment 8. As Adrian notes there, generating the output for Save to PDF might fail; if so, we should notify the user in some way that they haven't got a usable PDF file, not just silently ignore the error status.
Updated•1 year ago
|
Comment 1•1 year ago
|
||
A related upstream fix. The PDF surface was not propagating font subsetting failures to the surface when calling cairo_surface_finish()
.
https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/554
Reporter | ||
Comment 2•1 year ago
|
||
I've filed bug 1901232 for the low-level part of checking for a cairo error status on the surface. But it turns out that's not enough; even if we return a failure code from EndPage, the user doesn't get notified of the problem. So that's more of a printing UI issue that we'll still need to fix here.
Reporter | ||
Comment 3•1 year ago
|
||
I think the lack of notification to the user is more of a Toolkit:Printing issue; moving to that component.
Comment 4•1 year ago
|
||
The product::component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit BugBot documentation.
Description
•