Steps to reproduce:
1. write a document, save it as testdocument.odt anywhere
2. choose File->Send->Document as E-mail
Thunderbird opens (configured as default in Ubuntu) with the message composer, the mail title says "testdocument.odt", but the message body is empty. Same when choosing File->Send->"E-mail as OpenDocument-text" or "E-mail as Microsoft Word". No attachment is generated,
Expected behavior: Document text should appear as message body, or as attachment.
Operating System: Ubuntu
Version: 188.8.131.52 release
Additional info: maybe it's not a bug in LO, but in Ubuntu, or in Thunderbird - I can't tell that from my POV.
The downstream bug in Ubuntu seems to be https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1217191.
Either the sensible-louma command is broken, or should be replaced. So maybe this is an Ubuntu packaging bug?
This is apparently a Ubuntu-specific problem. Neither TDF nor other distros' (e.g., Fedora) builds have a "sensible-louma".
nitpicks: its sensible-lomua and Debian has it too. ;)
Hi, I tried to reproduce using Debian 6, LibreOffice 184.108.40.206 and Mutt and the document is shown as attachment and sent correctly. Sophie
I tried to reproduce using openSUSE Tumbleweed, LibreOffice 220.127.116.11 (build id 410m0 build2) and Kmail.
The document is shown as attachment, the subject is the file name.
So I tested on Ubuntu (without sensible-lomua) with LibreOffice 4.2.3 and gentoo with LibreOffice 4.1.4:
- Ubuntu trusty/LibreOffice 4.2.3: "Send Document as Email" doesnt work, while "Send Document as OpenDocument Text" works
- gentoo/LibreOffice 4.1.4: "Send Document as Email" doesnt work, "Send Document as OpenDocument Text" doesnt works
For "Send Document as Email" I would expect the text body to appear in the mail body. That doesnt happen on both distros, so likely an upstream issue. For Send Document as OpenDocument Text" I would expect it to be attached, which happens just fine on Ubuntu/LO 4.2 without sensible-lomua.
Limiting this issue on the "Send Document as Email" part ONLY, as it happens on multiple distros. Please file a separate bug for "Send Document as OpenDocument Text" if that also happens.
(In reply to comment #7)
> For "Send Document as Email" I would expect the text body to appear in the
> mail body. That doesnt happen on both distros, so likely an upstream issue.
Writer "File - Send - Document as E-mail..." does create a mail with the document as attachment here (various LO versions, running on Fedora 20). It spawns program/senddoc, passing --mailclient, --subject, and --attach arguments, I'd suggest to start debugging there.
But if "Send Document as E-Mail" and "Email as OpenDocument Text" do the same, why do we have two menu entries anyway? Shouldnt we just kill "Send Document as E-mail and only keep the explicit "E-mail as $FORMAT" ones?
Or to put it different: Whats the difference between .uno:SendMail and .uno:SendMailDocAsOOo and for what do we need the former in Writer?
(In reply to comment #7)
> - Ubuntu trusty/LibreOffice 4.2.3: "Send Document as Email" doesnt work,
> while "Send Document as OpenDocument Text" works
Hmm, most strange. I just retested 4.2.3 from Ubuntu after killing sensible-mua and cant reproduce anymore. Closing as NOTOURBUG as the problem likely persists on Debian, which keeps sensible-mua (also CCing Rene for that).
Neither does "Send Document as Email" nor "Send OpenDocument spreadsheet file as Email" work. The result is just an email with the file name as subject, but no document attached.
LibreOffice Version: 18.104.22.168 Build-ID: 430m0(Build:2)
I have pushed a patch that fixes the issue. The link to the patch is : https://gerrit.libreoffice.org/#/c/13786/
This is not sufficient in my case as gconftool-2 returns a full path name, so I modified that with: if [ "`basename $client`" = "thunderbird" ]; then
which works, even if it doesn't solve my issue https://bugs.documentfoundation.org/show_bug.cgi?id=90382
In fact after more tests, this is indeed fully fixing the issue I had (but I need that basename added)