Bug 1951833 - [evolution] Print to file fails due to invalid characters
Summary: [evolution] Print to file fails due to invalid characters
Keywords:
Status: CLOSED DUPLICATE of bug 1896902
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 33
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-04-20 23:30 UTC by Michel Lind
Modified: 2021-04-21 06:57 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-04-21 06:57:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot of printing to file error without changing the generated filename (14.68 KB, image/png)
2021-04-20 23:30 UTC, Michel Lind
no flags Details
screenshot of printing to file error with a shorter filename (10.54 KB, image/png)
2021-04-20 23:31 UTC, Michel Lind
no flags Details

Description Michel Lind 2021-04-20 23:30:36 UTC
Created attachment 1773963 [details]
screenshot of printing to file error without changing the generated filename

Description of problem:
When printing to file, the generated path seems to be surrounded by some Unicode characters, causing the write to fail because the path does not exist

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

How reproducible:
Always

Steps to Reproduce:
1. Try printing an email and choose "Print to file"
2. Override the filename and try again


Actual results:
Printing fails, e.g. for this message from test-announce

The printer replied “Error opening file â/home/michel/Documents/20210418050327_[Test-Announce]_Fedora_34_Branched_20210418.n.0_nightly_compose_nominated_for_testing.pdfâ: No such file or directory”.

The printer replied “Error opening file â/home/michel/Documents/20210418050327_testing.pdfâ: No such file or directory”.

Expected results:
The PDF gets saved to disk

Additional info:

Comment 1 Michel Lind 2021-04-20 23:31:03 UTC
Created attachment 1773964 [details]
screenshot of printing to file error with a shorter filename

Comment 2 Michel Lind 2021-04-20 23:37:10 UTC
This reproduces on Fedora 34's evolution-3.40.0-1.fc34. Printing to file from gedit is not affected and works fine.

Comment 3 Michel Lind 2021-04-20 23:38:03 UTC
PS on F34, I also tried launching evolution with `LANG=C evolution` in case it's some bizarre encoding issue, but that did not have any effect

Comment 4 Milan Crha 2021-04-21 06:57:07 UTC
Thanks for a bug report. This is a known issue in WebKitGTK. Please see bug #1896902 comment #1 for a workaround.

*** 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.