"Send To" function replaces spaces in file name with 0s and consequently cannot find the file when attempting to email it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evince |
Fix Released
|
Medium
|
|||
evince (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Low
|
Unassigned |
Bug Description
Evince 3.4 on Ubuntu 12.04
When I try to email a PDF with spaces in the file name, Evince tells me that
the file does not exist and so could not be attached.
[Impact]
* For certain named PDFs Evince won't you email them. It's easy to workaround, but why should users have to when they have an email option in evince.
* The diff is the upstream fix that is in all future versions of Ubuntu.
[Test Case]
1) Open the PDF file with spaces in the file name, e.g. "GNOME Rules.pdf", with
Evince.
2) In Evince, click the File menu. On the file menu click Send To... item. The
Send To dialog appears.
3) On the Send To dialog, in the Destination section, Email will be selected in
the "Send as:" dropdown list. In the "Send to:" textbox, enter a valid email
address.
4) On the Send To dialog, click the Send button.
Actual results:
The File Attach error message will appear, stating that the PDF file you were
trying to send does not exist and so could not be attached.
In the File Attach dialog you will notice that spaces in the file name have
been replaced by 0s. This is the reason why the program cannot find the file.
Expected results:
A new email message composing window from the default email client should
appear, with the email address entered in to Send To dialog appearing in the To
field, and with the PDF document attached.
[Regression Potential]
* We could somehow make the Send to functionality worse.
Upstream bug report:
I also filed the bug on GNOME's bugzilla. The bug report number is 681144.
description: | updated |
Changed in evince: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
description: | updated |
The evince developer has committed the fix to the code repository.