Evolution Flatpak does not take attachments from LibreOffice

I am using Gnome Evolution 3.52 as flatpak on Ubuntu 22.04.4 and LibreOffice (LO, deb-package). When I open a document in LO and want to send it as email attachment (in LO, File > Send > Document as Email), then Evolution opens a new email with the name of the document in the subject line, but without the file as attachment.

By contrast, it works as expected on another machine with Gnome Evolution 3.52 as deb-package (Ubuntu 24.04). Is there a way to make Flatpak Evolution aware of files to attach out of LO?

Thanks for helpful hints in advance!

Are you using a recent flatpak and a recent xdg-desktop-portal-gnome? Please post the versions of each. Ubuntu usually runs old versions.

My Evolution flatpak:

flatpak info org.gnome.Evolution

Evolution - Ihre E-Mails, Kontakte und Terminplanung verwalten

         Kennung: org.gnome.Evolution
             Ref: app/org.gnome.Evolution/x86_64/stable
     Architektur: x86_64
           Zweig: stable
         Version: 3.52.2

My xdg-desktop-portal-gnome

dpkg -s xdg-desktop-portal-gnome
Package: xdg-desktop-portal-gnome
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 508
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 42.1-0ubuntu1
Provides: xdg-desktop-portal-backend (= 1.7.1)

My hunch would be, that most of the local deps are too old.

I guess you can figure out if the portal is supposed to work by installing and running Install Door Knocker on Linux | Flathub

Of the portals with possible bearing on the issue, Door Knocker shows that “File transfer”, “Email” and “Documents” is available, but “Clipboard” is not. Is the missing portal “Clipboard” the knockout for file attachments from LO to flatpak Evolution?

I just tested on gnome and it doesn’t seem to work even with that portal, unfortunately. We would have to check, how they implemented it.

I am afraid it does not work on the most recent Ubuntu 24.04, too. I tested in a virtual box Evolution Flatpak

Kennung: org.gnome.Evolution
             Ref: app/org.gnome.Evolution/x86_64/stable
     Architektur: x86_64
           Zweig: stable
         Version: 3.52.3

xdg-desktop-portal-gnome

Package: xdg-desktop-portal-gnome
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 668
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 46.0-1build1
Provides: xdg-desktop-portal-backend (= 1.7.1)

Door Knocker shows that here the portal “Clipboard” is available in addition to the other afore mentioned. Again, if I replace Evolution flatpak by Evolution deb-package, attaching a LO file to an email works.

Workaround:
In LO, change default folder for temporary files from /tmp to a folder within your user directory, e. g. /home/$USER/Downloads/tmp