Bug 1966244 - Printing email to file does not work
Summary: Printing email to file does not work
Keywords:
Status: CLOSED DUPLICATE of bug 1896902
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-31 17:43 UTC by Giovanni Campagna
Modified: 2021-05-31 17:48 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-05-31 17:48:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Giovanni Campagna 2021-05-31 17:43:41 UTC
Description of problem:
Printing any email to a PDF file does not work. The print dialogue appears to work correctly, and it is possible to select a location for the printout, but either it fails with "No such file or directory", or no file appears.

Version-Release number of selected component (if applicable):
evolution-3.40.1-1.fc34.x86_64

(tested in Fedora 34 Silverblue but evolution is installed as rpm-ostree overlay not Flatpak)

How reproducible:
Always

Steps to Reproduce:
1. Select any email
2. Click Print
3. Select Print to File
4. Confirm the location

Actual results:
No PDF is generated. An error appears in the email window, if the location is not the home directory.

Expected results:
A PDF with the email printout is generated.

Additional info:
I think this is a bug in webkitgtk, and probably affects print to file in any webkitgtk apps, but I haven't tested it.
The WebkitWebProcess is run in a flatpak-like sandbox that does not share the filesystem with the real home directory, so the printout goes nowhere. webkitgtk should remove the sandbox or use the flatpak portal to open the file to print.

Comment 1 Milan Crha 2021-05-31 17:48:02 UTC
Thanks for a bug report. This particular one had been reported already, thus I'm marking it as a duplicate.

*** This bug has been marked as a duplicate of bug 1896902 ***


Note You need to log in before you can comment on or make changes to this bug.