6.3.0.4 includes most of the changes I suggested, but still fails to
operate properly - it switches the focus to the email client, but fails
to create a new email.

I thnk the problem may be at senddoc line 293,
MAILTO="${MAILTO:-}${MAILTO:+&}attach="$(echo "file://$2" | "${URI_ENCODE}")

My email client (Claws-mail) fails to handle the "file://" syntax, as do
some other email clients.

My suggestion (lines 269-276 of my proposed revision) was to omit the file:// 
(at least for xdg-email), so that the command then is
MAILTO="${MAILTO:-}${MAILTO:+&}attach="$(echo "$2" | "${URI_ENCODE}")

That then works;  though I found it advisable to omit the ampersand in the mail 
command (can't immediately remember why, sorry!), so that that command became 
simply
${MAILER} "${MAILTO}"

Version: 6.3.0.4
Build ID: 1:6.3.0-0ubuntu0.18.04.1~lo2
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded

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

Title:
  "Send -> Document as e-mail" in Writer / Calc does not work

Status in LibreOffice:
  Confirmed
Status in libreoffice package in Ubuntu:
  Confirmed

Bug description:
  Description:  Linux Mint 18.3 Sylvia
  Release:      18.3
  LO: Version: 6.1.3.2
  Build-ID: 1:6.1.3~rc2-0ubuntu0.16.04.1

  In writer I have an open document. If I then want to send it:

  "File - send - document as e-mail"

  **Nothing happens**

  Same with send e-mail as open-document and word document. Only send
  with pdf opens at least the pdf dialogue. But then nothing happens.

  Path to thunderbird: /usr/bin/thunderbird
  Thunderbird opens if I use this path so the path seems correct. No error 
message received.

  Expect: Mail is opened and document attached. (which worked before)

  Update: Just checked in Ubuntu 18.04 and LO 6.06.2
  There it works as expected. Will check my other system again. Maybe it just 
does not work on my other system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1803604/+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

Reply via email to