Libre Write Send / Document not attachment created in Thunderbird

We had situations in the past where LO worked with one mail client and did not work with Thunderbird.
The system programmer analyzed the system logs and found out that there was a problem with the AppArmor rules.

Good to know.

This feature (File>Send attachment) requires some kind of communication between different applications that are bundled by the maintainers of your desktop environment. It is their promise, to take care that the entire desktop environment is well integrated, despite the fact that applications come from different maintainers, namely The Document Foundation and Mozilla Foundation.
Personally, I would not bother at all about this minor convenience feature. I do save my documents, and I can attach any file types to emails using any application running on desktop or in a browser.
Nevertheless, it is a bug. Iā€™d suspect that the failure is on the distributorā€™s side.

How do you see the Apparmor rules? I had a look at the Apparmor website and couldnā€™t understand it?

Maybe this documentation will be useful.
If you have any specific questions, Iā€™ll invite our Linux specialist and weā€™ll try to figure it out together.

Both LibreOffice senddoc and Thunderbird are in ā€œEnforcedā€ mode while Evolution is in ā€œUnconfinedā€ mode. Could this be why sending a doc to email works with Evolution but not with TBird?

Yes, it is quite possible.
Try disabling the AppArmor and see if that solves the problem.

Didnā€™t solve it, but now thereā€™s an error message, which there wasnā€™t before!
ā€œThe file file:///tmp/lu61004a8p.tmp/lu61004ab1.tmp/Easter 5.odt does not exist so could not be attached to the message.ā€

Interesting!
And try sending a file whose name does not contain a space.

Exactly the same error.

Now we have checked that the Thunderbird program works normally with AppArmor disabled in the following configuration:

Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.7
Calc: threaded

Uninstall Thunderbird Snap and reinstall via PPA.
Issue solved.

2 Likes