LO unable to find a working email configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LibreOffice |
Confirmed
|
Medium
|
|||
libreoffice (Ubuntu) |
Fix Released
|
Medium
|
Olivier Tilloy |
Bug Description
Installed from PPA: ppa:libreoffice/ppa
$ lsb_release -a
LSB Version: core-9.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
$ apt-cache policy libreoffice
libreoffice:
Installed: 1:6.0.1~
Candidate: 1:6.0.1~
Version table:
*** 1:6.0.1~
500 http://
100 /var/lib/
1:
500 http://
500 http://
1:
500 http://
WHAT YOU EXPECT TO HAPPEN:
Should spawn an new Evolution eMAIL with attached ODF document
WHAT HAPPENED INSTEAD:
Error Dialogue: LibreOffice is unable to find a working email configuration. Please save your document locally and attached from within your eMAIL client.
CVE References
Olivier Tilloy (osomon) wrote : | #1 |
Changed in libreoffice (Ubuntu): | |
status: | New → Confirmed |
Olivier Tilloy (osomon) wrote : | #2 |
And the following error is most likely related:
sh: 1: /usr/lib/
Olivier Tilloy (osomon) wrote : | #3 |
Indeed, if I unload the apparmor profile for soffice.bin, sending the current document as e-mail attachment works again.
Olivier Tilloy (osomon) wrote : | #4 |
Corresponding apparmor entry in journalctl:
audit[1608]: AVC apparmor="ALLOWED" operation="exec" info="profile transition not found" error=-13 profile=
Bryan Quigley (bryanquigley) wrote : | #5 |
The senddoc profile is wrong like the other one was too -
profile libreoffice-senddoc /usr/lib/
#include <abstractions/base>
It still seems like the profile is missing xdg-email, which might be needed too.
Olivier Tilloy (osomon) wrote : | #6 |
The path to the senddoc executable is incorrect in the apparmor profile:
$ grep profile /etc/apparmor.
profile libreoffice-senddoc /usr/lib/
After fixing it and reloading the profile though, I'm seeing another issue:
/usr/
Changed in libreoffice (Ubuntu): | |
assignee: | nobody → Olivier Tilloy (osomon) |
importance: | Undecided → Medium |
Olivier Tilloy (osomon) wrote : | #7 |
Bug filed upstream: https:/
And fixed proposed here: https:/
Changed in libreoffice (Ubuntu): | |
status: | Confirmed → In Progress |
Olivier Tilloy (osomon) wrote : | #8 |
Changed in libreoffice (Ubuntu): | |
status: | In Progress → Fix Committed |
Launchpad Janitor (janitor) wrote : | #9 |
This bug was fixed in the package libreoffice - 1:5.4.5-
---------------
libreoffice (1:5.4.
* New upstream release (LP: #1748999)
- fixes CVE-2018-6871: Remote arbitrary file disclosure vulnerability via
WEBSERVICE formula
* debian/
senddoc profile (LP: #1748895)
-- Olivier Tilloy <email address hidden> Tue, 13 Feb 2018 11:25:01 +0100
Changed in libreoffice (Ubuntu): | |
status: | Fix Committed → Fix Released |
cement_head (andorjkiss) wrote : | #10 |
Still in LO 6.0.x
David van der Wal (statitica) wrote : | #11 |
Still present with LO6 and Thunderbird on Ubuntu 16.04.03
Olivier Tilloy (osomon) wrote : | #12 |
Which version exactly? Can you please share the output of:
apt policy libreoffice-common
David van der Wal (statitica) wrote : | #13 |
apt policy libreoffice-common
libreoffice-common:
Installed: 1:6.0.1~
Candidate: 1:6.0.1~
Version table:
*** 1:6.0.1~
500 http://
500 http://
100 /var/lib/
1:
500 http://
500 http://
500 http://
500 http://
1:
500 http://
500 http://
Olivier Tilloy (osomon) wrote : | #14 |
This is fixed in libreoffice 6.0.1 in ubuntu 18.04, and will be fixed in the next update in the PPA for 16.04 (6.0.2).
cement_head (andorjkiss) wrote : | #15 |
Nope. Still broken.
$ soffice
/usr/lib/
Rico Tzschichholz (ricotz) wrote : | #16 |
Please try to unset your email-client inside of libreoffice settings, and rely on the system-wide setting which can be made in e.g. gnome-control-
cement_head (andorjkiss) wrote : | #17 |
Okay, works now if </usr/bin/
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #21 |
Description:
When tools/options/
Build ID: 1:6.0.2~
on Ubunto 16.04.4 LTS
Help (on tools/options/
and Browse isn't either - on my system it includes claws-mail.
If I select xdg-email, then I get the same result s for Claws.
xdg-email --attach <FILE> works fine for me from the command line.
If AppArmor has to be enforced, then suitable documentation should be provided for new users. It seems that security is now a step ahead of usability?
Steps to Reproduce:
1.Set email cliednt (tools/options) to claws-mail or xdg-email
2.send (current) document as attachment
3.
Actual Results:
Neither LO nor email client has focus, and nothing happens
Expected Results:
Document should be properly attached to n (draft) email
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
Always worked fine until 6.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) QupZilla/1.8.9 Safari/538.1
David van der Wal (statitica) wrote : | #18 |
Confirm fixed under latest libreOffice update, and Ubuntu MATE 16.04
Thanks
In Document Foundation Bugzilla #116211, Olivier Tilloy (osomon) wrote : | #22 |
Tested and I can reproduce the issue when claws-mail is the default e-mail client on the system, even with apparmor profiles disabled (so unlikely to be an apparmor-related issue).
In Document Foundation Bugzilla #116211, Dgp-mail (dgp-mail) wrote : | #23 |
(In reply to Olivier Tilloy from comment #1)
> Tested and I can reproduce the issue
Olivier, if you can reproduce the issue, you can change status to NEW (I did it,because of your comment)
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #24 |
Send by email still fails in 6.1.1.2.
This is disappointing, since 'sending' a document is a basic operation, which users would naturally expect. As noted, this all worked prior to 6.0, so it's a regression.
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #25 |
I see a similar report on Apache OpenOffice, also on the Ubuntu bug reports.
Following a hint from the latter, I deleted the entry "/usr/bin/
A long listing shows
-rwxr-xr-x 1 root root 3950472 Dec 17 2017 /usr/bin/claws-mail
which looks ok?
I'll restore the setting in Tools/Options, since a visible error message is better than an invisible one!
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #26 |
I modified 'senddoc' temporarily, to 'echo' the claws-mail command, and opened my testfile again from the commandline. That showed
/usr/bin/claws-mail --attach /tmp/lu35337hoq
(all on one line).
A further edit to 'ls' the attachment file gave
/usr/lib/
Running the claws-mail command from the commandline (while LO was still open) gave a similar result: file does not exist, or no permission.
Doing 'ls -l' from the command line shows the file still existing, with directory permissions restricted to me as the owner.
A permissions problem, then? But I can't see what it is.
Bernard Moreton (bernard-moreton-1) wrote : | #19 |
The problem still affects me:
Ubuntu 18.04.1
LO 6.1.1.2
claws-mail
senddoc will not call claws-mail, or 'ls', or 'sleep'
See LibreOffice Bugzilla: Bug 116211 - LO Send by email fails in Writer
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #27 |
See also Ubuntu Bug #1748895
LO unable to find a working email configuration
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #28 |
With respect, I think the problem is related to apparmor.
When Tools/Options/
"/usr/lib/
Sep 20 10:09:04 USER_ID-
Sep 20 10:09:04 USER_ID-
Sep 20 10:09:05 USER_ID-
If Tools ... Email is set to xdg-email (timed at 10:12) or set to be blank (timed at 10:16), then no error window appears, the screen error message does not appear, and two DENIED lines appear in the kernel log:
Sep 20 10:12:24 USER_ID-
Sep 20 10:12:24 USER_ID-
Sep 20 10:16:27 USER_ID-
Sep 20 10:16:27 USER_ID-
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #29 |
I should have added that when Tools ... Email is set to xdg-email (timed at 10:12) or set to be blank (timed at 10:16), then claws-mail is called, but without focus, and without any COMPOSE window. Focus has to be manually restored to CLAWS by clicking on it, before anything else can be done ...
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #30 |
Sorry to post so much, but I think I've found the problem, and a solution.
1 For convenience, I've set Tools/Options/
2 The supplied senddoc then outputs the command (all on one line):
/usr/bin/xdg-email mailto:
This brings my claws-mail window to the fore, but without focus, and fails to open a compose window.
If I run the same command by copy-n-paste from the command line, then a compose window opens, but there is no attachment.
3 If I change the xdg entry in senddoc
--attach)
and take out the ampersand in the mail call (may not be significant, but calls for other mail clients don't use the ampersand, and senddoc will then wait for completion)
${MAILER} "${MAILTO}"
# ${MAILER} "${MAILTO}" &
then senddoc completes properly, opening a compose window, with the required attachment.
4 Apparmor still registers two DENIED lines to kernel.log, one about the original file opened in Writer, and one about the .config file (see my Comment 7 above). These don't have any effect on the functioning of Senddoc, but they shouldn't appear.
5 The solution outlined above is not complete
(1) it may have bad effect on Evolution and/or Gnome, which are linked with Xdg in the 'case' statement
(2) the provision to cover a blank entry in Tools/Options/
(3) though the output command
/usr/bin/xdg-email mailto:
works ok, it is not in accord with the format given in the man page for xdg-email ( --subject TITLE --attach FILE), which I find a little disturbing.
Olivier Tilloy (osomon) wrote : | #20 |
Re-opening per user comment and upstream report.
Changed in libreoffice (Ubuntu): | |
status: | Fix Released → Confirmed |
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #31 |
Created attachment 145467
A proposed revision for /usr/lib/
A proposed revision for /usr/lib/
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #32 |
The uploaded revision of SENDDOC works ok on my system (LO 6.1.2.1, Ubuntu 18.04.1) when Tools, Options, Internet, Email E-mail program is left blank, or filled as /usr/bin/xdg-email.
The URI syntax "file://" for attachments does not work with (most?) system email clients; and I have left comments at lines 109, 380, and 443, where I doubt whether this syntax is appropriate for thunderbird, Mail or Thunderbird, or for DESKTOP_LAUNCHER.
All instances need review however.
I've tested a call using /usr/bin/xdg-open in my configuration setting. This has the same problem as I had with xdg-email, ie Sending a file by email opened my email client, but without focus, and no compose window appeared.
I conclude that the URI syntax is unreliable, and that a simple filename reference should therefore be preferred.
I have not implemented that in my uploaded revision of SENDDOC!
On a LINUX system, the clients provided for in SENDDOC should all be ok (I think) when AppArmor is not in use.
Where AppArmor is in use, and there is a policy set for SENDDOC, then I suggest that
(a) the Options-
(b) to avoid problems, the call to SENDDOC should not pass any client identification.
In Document Foundation Bugzilla #116211, Xiscofauli (xiscofauli) wrote : | #33 |
Hi Bernard,
Thanks for the patch!
Would you mind submitting it to gerrit instead? you can have more informacion here https:/
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #34 |
Hi Xisco,
I'm afraid I'm not familiar with GIT - perhaps I should be, but 24x7 care leaves me little opportunity for doing new things. Would you mind submitting the revision for me? License? - as for the existing SENDDOC, of course - or whatever is most free.
MTIA, Bernard
Changed in df-libreoffice: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
In Document Foundation Bugzilla #116211, Ankur Joshi (pharmankur) wrote : | #35 |
Since upgraded to LO 6.1.0 onwards started facing the problem of documents send by email stopped working
Also post here mentions about a macro which sends email with PDF attachment using a email client as THUNDERBIRD, the basic issue is setting [ Libreoffice --> TOOLS --> OPTIONS --> INTERNET --> E-MAIL --> EMAIL PROGRAM --> browse & set to --> /usr/bin/
BUT Geary works with same LO 6.1.2 [ Libreoffice --> TOOLS --> OPTIONS --> INTERNET --> E-MAIL --> EMAIL PROGRAM --> browse & set to --> /usr/bin/geary ]
Using Linux Mint 19
-------
Find my detailed posting about mentioned 'MACRO' at
https:/
>>>
After upgrading to Linux Mint 19 + Thunderbird 60 + Libreoffice 6.1.2 ; Emailing through the macro suddenly started behaving strangely. The email body text generated through macro started appearing in Recipient email boxes in thunderbird and is not usable.
Setting up Thunderbird as email client [ Libreoffice --> TOOLS --> OPTIONS --> INTERNET --> E-MAIL --> EMAIL PROGRAM --> browse & set to --> /usr/bin/
I do not know what is going wrong , Also I dont know whether bug is in Libreoffice Or Thunderbird Or somewhere else.
But here is the finely working workaround ---
Solution is to use geary email client, Set GEARY as default email client in linux mint. Also set geary in libreoffice [ Libreoffice --> TOOLS --> OPTIONS --> INTERNET --> E-MAIL --> EMAIL PROGRAM --> browse & set to --> /usr/bin/geary ]
......... UPDATE ...........
Tested with Libreoffice 6.0.7.3 in Linux Mint 19 & with Thunderbird 60.2.1 (64-bit) --- And it worked charmingly as before !!!
So definitely Libreoffice 6.1.2 has the bug, strangely specific to THUNDERBIRD only ... as GEARY works in both version of libreoffice.
<<<<<<
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #36 |
GEARY works simply because it is not named in program senddoc, which then uses xdg-email as a default, to call the system email client, whatever it is. But hey, as an entry in Tools/.../Internet, it works!
So, possibly, would "/usr/bin/wxyz" ...
In Document Foundation Bugzilla #116211, Ankur Joshi (pharmankur) wrote : | #37 |
(In reply to Bernard Moreton from comment #15)
> GEARY works simply because it is not named in program senddoc, which then
> uses xdg-email as a default, to call the system email client, whatever it
> is. But hey, as an entry in Tools/.../Internet, it works!
>
> So, possibly, would "/usr/bin/wxyz" ...
:)
Did not get you Bernard !
So there is a bug or not ??? Because since LO 6.0.7 Thunderbird was working for me with exactly same configuration.
Now Geary is working but not the thunderbird. For whatever reason same configs are working for Geary and not for Thunderbird Or Kmail Or Claws Mail , isn't it a bit odd ?
I am habituated to use Thunderbird, Geary even though works; I feel compromised while using it. Thus earlier this bug is resolved ... it will be better !!
Meanwhile I have fallen back to LO 6.0.7 & enjoying using Thunderbird.
Olivier Tilloy (osomon) wrote : | #38 |
The original issue reported here was fixed.
The other issue people are seeing is bug #1803604, so let's continue the conversation there.
Changed in libreoffice (Ubuntu): | |
status: | Confirmed → Fix Released |
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #39 |
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:
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:
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-
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
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #40 |
There is a new twist to this saga.
With LO 7.0.1.2 today I get an error message
/home/mbm/
** (claws-mail:12915): WARNING **: 10:04:23.190: failed to convert encoding of file name: Invalid byte sequence in conversion input
malloc_
This happens whether I set email (Tools,Option) as blank, or as xdg-email
In either case, using my proposed patched form of sesnddoc, I get a Claws-mail error window within a Compose window. On acknowledging the message, Claws crashes.
If I use the version of senddoc that comes with LO 7.0.1.2, I get no Compose window, and Claws-mail simply crashes.
This was working ok a fortnight ago, with LO 7.0.1.2
Claws-mail has not changed in Ubuntu 20.04 since then.
I wonder whether uri-encode is no longer working properly?
And if I export my LO document to a file, then I can Compose, and attach that file, and send, all ok
In Document Foundation Bugzilla #116211, oblong (bob-oblong) wrote : | #41 |
Hopefully not confusing things by adding this information... I use LibreOffice "E-mail as PDF" a lot. After about a fortnight of not having used it, when it worked fine, today I tried again.
Linux Mint 19.3 MATE; Thunderbird 68.10.0; LibreOffice 6.0.7.3.
LO Tools|Options|
The Thunderbird compose window opened, but there was no attachment. No improvement after closing/restarting LO, Thunderbird or restarting Mint.
kern.log has:
Nov 27 14:51:03 bob-mint kernel: [ 1934.824706] audit: type=1400 audit(160645266
Nov 27 14:51:03 bob-mint kernel: [ 1934.824714] audit: type=1400 audit(160645266
Nov 27 14:51:03 bob-mint kernel: [ 1934.824719] audit: type=1400 audit(160645266
LO has no problem exporting the PDF and Thunderbird can manually attach it.
Caja 1.22.2 right-click Send to...E-mail works as expected.
If I run "libreoffice --writer" from the terminal there are no error messages there when doing the E-mail as PDF, but again no attachment appears.
The only thing I was brave enough to change, as the log mentioned it, was to change the permission of:
/home/bob/
to 777. Made no difference.
Not sure what it all means!
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #42 |
Just to clarify my remarks yesterday,
the error window in Claws-mail showed a filename that looked very much as though it had been encoded.
There may be some upgrade to the system that caused the change in behaviour -
simplescan has taken to ignoring the ADG and scanning from the glass,
Acroread has also taken to printing only the first page of any page selection.
It's difficult not to suspect some common cause.
But in senddoc
attachment="$(echo "file://$2" | "${URI_ENCODE}")
may be suspect anyway?
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #43 |
And further to my last comment, the point is proved.
Claws[-mail] is set in senddoc to use
ATTACH=
without any reference to encoding.
In Tools.Options, I set email to /usr/bin/claws-mail
and all is well, the document is attached to a draft email in a Compose window.
The use of URI_ENCODE in conjunction with the attachment filename seems to be wrong - though why it caused no problems until recently I do not understand!
In Document Foundation Bugzilla #116211, oblong (bob-oblong) wrote : | #44 |
I noticed a couple of days ago (17th or 18th Jan 2021) that Send e-mail as PDF started to work again. Presumably some update fixed things. So that's great!
(Linux Mint MATE 19.3, Thunderbird 68.10.0, LibreOffice Version: 6.0.7.3 - all those versions unchanged.)
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #45 |
In the current version of LO, 7.1.2.2 (Ubuntu build, on Ubuntu 20.04 LTS),
there has been no change to senddoc since the last installed version (7.0.1.2),
but the behaviour is significantly different.
1
Using the supplied senddoc (7.1.2.2), and trying to send a PDF attachment,
(a)
if Tools/Options/
Claws-mail freezes, so that no ALT-TAB is possible, and has to be shut down,
and I gete a message on Terminal:
/home/
** (claws-mail:7281): WARNING **: 11:27:50.598: failed to convert encoding of file name: Invalid byte sequence in conversion input
(b)
If Tools/Options/... is set to /usr/bin/claws-mail
I get an LO error window 'unable to find a working email configuration
and an error on Terminal
"/usr/lib/
(c)
If Tools/Options/... is set to /usr/bin/xdg-email
then focus switches to the Claws-mail client, but no Compose window appears, and no error message is given, but the Claws-mail window is frozen, without focus, and needs to be clicked intofocus before anything more can be done.
2
Using the fix script I suggested some while ago, and trying to send a PDF attachment,
if Tools/Options/
If I set the option to either /usr/bin/xdg-email or to <blank>,
I get an error on my Claws-mail client, File <encoded garbge> doesn't exist or permission denied", and the email clinet is closed altogether when I close the er3ror message window.
and sometimes (not always) I get an error on my Terminal,
** (claws-mail:7281): WARNING **: 11:27:50.598: failed to convert encoding of file name: Invalid byte sequence in conversion input
3
I note that in senddoc, against the "sylpheed | claws" entry, there is
ATTACH=
and against xdg-email there is
MAILTO="${MAILTO:
The use of URI_ENCODE here is probably not right, the UTI file usage (file://$2) certainly doesn't work when passed to Claws-mail, and xdg-email doesn't seem to recognize it either.
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #46 |
I believe there is a bug in xdg-email affecting --attach
(https:/
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #47 |
I believe there is a bug in xdg-email affecting --attach
(https:/
(sorry, the last attempt closed on me before I'd finished)
The fix for that wor3ks in Claws-mail 3.17.8, but not in 3.17.5 which is the latest version for Ubuntu 20.04 LTS.
I get the same error when calling xdg-email --attach FILENAME from the command-line as seems to be occurring when it is run from senddoc.
I've asked for a backport of Claws 3.17.8 to Ubuntu 20.04 ... !
In Document Foundation Bugzilla #116211, Bernard Moreton (bernard-moreton-1) wrote : | #48 |
Until communication between xdg-email and claws-mail is fixed in Ubuntu LTS, I've resolved the problem by (a) adding a claws-mail line in the apparmor profile for senddoc and reloading the policy. and (b) setting Tools/Options/
I don't like messing with system files like that, but it now works again properly.
In Document Foundation Bugzilla #116211, Timur-y (timur-y) wrote : | #49 |
Reading this, I don't see it as LO bug. And it well may be NotOurBug.
I restrict to claws-mail and kindly ask reporter to follow up with new version.
Since Ubuntu bug is listed, this can simply be closed.
In Document Foundation Bugzilla #116211, Z-bernard-moreton (z-bernard-moreton) wrote : | #50 |
There are 3 levels at which this is an LO bug:
(1) senddoc provides settings for claws-mail (claws|sylpheed), which work fine, EXCEPT that since apparmor was enforced, these settings only work if claws-mail is included in the apparmor settings
(2) xdg-email is seen as the default email application, but the coding in senddoc uses the 'mailto:
This makes xdg-email with mailto: command format a bad choice for LO's senddoc. If the alternative command-line-style were used, with simple email addresses rather than the mailto: style, I think all would be well. It certainly works well for me from the command line.
(3) the screen prompts for the setting of Tools-Options-
Evolution, kmail, icedove, and thunderbird are given specific entries in senddoc; I don;t know how well they work - but all other clients must be a potential problem.
The implication in this user configuration setting is that any email application should work. That simply is not so.
I agree with Timur (#27) that a main problem in in xdg-email, but I can find no indication that its maintainers are likely to extend the capabilities of the mailto: option. In the meantime, however, LO could and should use the command option that does the essential job of attaching the document to the email. And then improve the Tools-Options email entry screen.
In Document Foundation Bugzilla #116211, Timur-y (timur-y) wrote : | #51 |
I tested sending with claws-email now, previously I used mutt, and all is working, composer window is invoked and file is attached.
I understood this bug was about claws-email but if not it needs a precision.
"xdg-email is a command line tool for sending mail using the user's preferred e-mail composer" so why would it be used in Tools/Options/
My understanding is that it's working implicitly, if you don't set Email than xdg-email is used to invoke some (from Default/Preferred Applications).
In my case, when I deleted claws-email path from Email and not from the system, it used mutt.
But I got no screen prompts for the setting of Tools-Options-
Mail from mutt was composed and sent but without attachment.
I then changed system mail to claws-email and xdg-email invoked claws-email but without composer window.
So for me, bug is that xdg-email doesn't attach file or compose mail, seen when when having Email empty ie. relying on xdg-email. Mine is version 1.1.2 from Ubuntu 18.04.
But it should be that Ubuntu bug. And there "xdg-utils 1.1.3-4.
(1) seems Ubuntu bug. (2) I wrote my view on xdg-utils (3) I asked you to clarify, to have all here, but that would be another issue anyway.
In Document Foundation Bugzilla #116211, Timur-y (timur-y) wrote : | #52 |
Oh, not really well in Ubuntu 22.04.
Lo has sensible-lomua set in Email (don't know what's that, probably ends with xdg-email anyway) but behaves like when empty, invoking default mail which I set to be claws-mail. Also program window invoked, not composer window. xdg-email is 1.1.3-4.1. So that would be the same, not resolved.
Another new problem: if I set Email to /usr/bin/
If system has no default email client, sending with LO doesn't give any warning. That would be another issue, related to (3).
In Document Foundation Bugzilla #116211, Timur-y (timur-y) wrote : | #53 |
Changed in df-libreoffice: | |
status: | Confirmed → Incomplete |
In Document Foundation Bugzilla #116211, Z-bernard-moreton (z-bernard-moreton) wrote : | #54 |
I get over the problem by inserting a line for claws-mail in apparmor profile for senddoc, and specifying claws-mail (with full path) in Options-
A better option would be to rewrite the xdg-email code in senddoc along the lines of the block for claws|sylpheed (though in LO, the 'To' field is presumably not required ...). This would make the default generally useful for all email clients, where currently it simply doesn't attach, which is the whole point of senddoc ...
I'll continue to hope that Ubuntu 22.04 xdg-utils will fix the attachment problem, since it affects scanning to email as well as LO; but there'' be many LO users who remain on current (non-functioning) xdg-email maitto: style. They should be helped, even if the rest of us do find salvation ...
In Document Foundation Bugzilla #116211, Qa-admin-q (qa-admin-q) wrote : | #55 |
[Automated Action] NeedInfo-
Changed in df-libreoffice: | |
status: | Incomplete → New |
cement_head (andorjkiss) wrote : | #56 |
I can spawn a composer window (Thunderbird) from LO, but no document gets attached. Using the Flatpak install of LO. Any suggestions?
In Document Foundation Bugzilla #116211, Z-bernard-moreton (z-bernard-moreton) wrote : | #57 |
Created attachment 181206
revision of (current) senddoc to correct problems
Revisions labelled #001 enable sending email when Tools-Options-
The revision labelled #002 enable sending document as email when Option-Email is blank - in this case LO currently does NOT supply any MAILER to senddoc.
In Document Foundation Bugzilla #116211, Z-bernard-moreton (z-bernard-moreton) wrote : | #58 |
Against Timurs comment #29, "(3) I asked you to clarify, to have all here, but that would be another issue anyway.",
- the Browse button doesn't really help the user (it listes all files in the HOME directory
- and though the user might want to enter a simple application name (and perhaps should be given a list of found names to choose from), past experience suggested that a full path may be desirable.
- the button might be better to validate an entered application name?
The user can't be assumed to know the file system!
In Document Foundation Bugzilla #116211, R-cabane (r-cabane) wrote : | #59 |
I'm having the same bug since upgrading to LO 7.4 (perhaps also 7.3.4, I don't remember).
Context :
OpenSuSE Linux
TDF LO 7.4.1
mailer = thunderbird (declared as such in the Options)
What happens : when I try to send a doc my mail (clicking on the dedicated button), Thunderbird's composer windows appears but nothing is attached.
In Document Foundation Bugzilla #116211, Stephane-guillou-i (stephane-guillou-i) wrote : | #60 |
*** Bug 154479 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #116211, Stephane-guillou-i (stephane-guillou-i) wrote : | #61 |
Clearly issues to solve, including in link to Thunderbird as in duplicate but 154479.
Thanks Bernard for continuously looking into it, and please don't hesitate submitting a patch on gerrit if you think it can improve the situation.
Changed in df-libreoffice: | |
status: | New → Confirmed |
In Document Foundation Bugzilla #116211, Timur-y (timur-y) wrote : | #62 |
*** Bug 138158 has been marked as a duplicate of this bug. ***
Confirmed. This appears to be a regression. I can observe the issue in xenial and bionic, where the functionality used to work as expected in previous versions (5.1.6 and 5.4.3, respectively).