← Back to team overview

desktop-packages team mailing list archive

[Bug 1032680] Re: "Send To" function replaces spaces in file name with 0s and consequently cannot find the file when attempting to email it

 

thanks, you should probably subscribe ubuntu-sponsors as well there

** Also affects: evince (Ubuntu Precise)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1032680

Title:
  "Send To" function replaces spaces in file name with 0s and
  consequently cannot find the file when attempting to email it

Status in Evince document viewer:
  Fix Released
Status in “evince” package in Ubuntu:
  Fix Released
Status in “evince” source package in Precise:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/evince/+bug/1032680/+subscriptions