** Description changed: + [Impact] + Simple scan is unable to send email with PDF attachments. + + [Test Case] + 1. Open Simple Scan + 2. Scan a document in text mode (the default) + 3. Email the document + + Expected result: + Email client opens with attached .pdf file + + Observed result: + Nothing occurs. Running 'simple-scan -d' from the command line shows an error about trying to run the invalid command 'xdg-email--attach'. + + [Regression Potential] + Low. Adds back in a missing space character that got dropped in some refactoring. + + Original description: + This is my first bug report so I hope I'm making sense: Simple scan doesn't send mail when trying to send a scanned document. Using simple-scan -d I get this error: [+9.63s] WARNING: app-window.vala:1208: Unable to email document: Failed to execute child process “xdg-email--attach” (No such file or directory) Looking through the code within app-window.vala on lines 1194 - 1196 I see: - var command_line = "xdg-email"; - if (type == "pdf") - command_line += "--attach %s".printf (file.get_path ()); + var command_line = "xdg-email"; + if (type == "pdf") + command_line += "--attach %s".printf (file.get_path ()); I'm thinking there should be a space " " prior to --attach on line 1196.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to simple-scan in Ubuntu. https://bugs.launchpad.net/bugs/1743096 Title: Simple Scan not sending mail Status in simple-scan package in Ubuntu: Triaged Status in simple-scan source package in Artful: Triaged Status in simple-scan source package in Bionic: Triaged Bug description: [Impact] Simple scan is unable to send email with PDF attachments. [Test Case] 1. Open Simple Scan 2. Scan a document in text mode (the default) 3. Email the document Expected result: Email client opens with attached .pdf file Observed result: Nothing occurs. Running 'simple-scan -d' from the command line shows an error about trying to run the invalid command 'xdg-email--attach'. [Regression Potential] Low. Adds back in a missing space character that got dropped in some refactoring. Original description: This is my first bug report so I hope I'm making sense: Simple scan doesn't send mail when trying to send a scanned document. Using simple-scan -d I get this error: [+9.63s] WARNING: app-window.vala:1208: Unable to email document: Failed to execute child process “xdg-email--attach” (No such file or directory) Looking through the code within app-window.vala on lines 1194 - 1196 I see: var command_line = "xdg-email"; if (type == "pdf") command_line += "--attach %s".printf (file.get_path ()); I'm thinking there should be a space " " prior to --attach on line 1196. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/simple-scan/+bug/1743096/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

