Bug 133609 - Flatpak version of LibreOffice can't send documents by email
Summary: Flatpak version of LibreOffice can't send documents by email
Status: VERIFIED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://github.com/flathub/org.libreo...
Whiteboard:
Keywords:
: 154241 (view as bug list)
Depends on:
Blocks: File-Send Thunderbird-Interoperability
  Show dependency treegraph
 
Reported: 2020-06-02 16:49 UTC by Jeff Fortin Tam
Modified: 2023-06-29 13:09 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin Tam 2020-06-02 16:49:56 UTC
Description:
See below

Steps to Reproduce:
I have installed LibreOffice from https://flathub.org/apps/details/org.libreoffice.LibreOffice on a CentOS 8 machine

Actual Results:
Everything works except the feature in the File menu to send a document (or its PDF export or others) via email. If I recall correctly, the mail client (Evolution) says it can't find the file that was meant to be attached.

Expected Results:
It should be possible to email a document from LibreOffice's Flatpak version via Evolution without needing to go through the file manager.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Buovjaga 2020-10-17 14:09:28 UTC
We don't track Flatpak issues in our Bugzilla. Please open a report in https://github.com/flathub/org.libreoffice.LibreOffice/issues
Comment 2 Jeff Fortin Tam 2020-10-19 12:53:39 UTC
Are you sure? The reason I reported it here is because that's not a packaging issue per se, but something that needs to be changed in LibreOffice's code to account for it.
Comment 3 Buovjaga 2020-10-19 12:56:36 UTC
(In reply to Jean-François Fortin Tam from comment #2)
> Are you sure? The reason I reported it here is because that's not a
> packaging issue per se, but something that needs to be changed in
> LibreOffice's code to account for it.

Ok, please test with a non-Flatpak version to confirm the problem.
Comment 4 Buovjaga 2020-10-19 12:57:59 UTC
This smells like a side-effect of Flatpak's sandboxing, which prevents the two applications from talking to each other
Comment 5 Stephan Bergmann 2020-10-19 13:01:27 UTC
see <https://github.com/flathub/org.libreoffice.LibreOffice/issues/92#issuecomment-712136828> "Can't send attachments from LO"
Comment 6 Jeff Fortin Tam 2020-10-26 15:34:11 UTC
> Ok, please test with a non-Flatpak version to confirm the problem.

Yup, I had already tested it as working (for years) under the non-flatpak version. That's why I filed a bug report specifically about the flatpak version, and the reason I had filed it here is because it will involve changes in LibreOffice's code (not just the package itself).
Comment 7 andorjkiss@gmail.com 2022-08-19 12:06:02 UTC
Also effects LO 7.4.3.0 on Pop_OS 22.04.1
Comment 8 Stéphane Guillou (stragu) 2023-06-28 23:22:41 UTC
The relevant flatpak / sdg-desktop-portal docs is:

https://flatpak.github.io/xdg-desktop-portal/#gdbus-method-org-freedesktop-portal-Email.ComposeEmail

Stephan and others, can we clarify if this is something that can only be fixed on the flatpak packaging side, or that needs to be fixed in LO core?
Comment 9 Stéphane Guillou (stragu) 2023-06-28 23:23:10 UTC
*** Bug 154241 has been marked as a duplicate of this bug. ***
Comment 10 Stephan Bergmann 2023-06-29 07:27:24 UTC
(In reply to Stéphane Guillou (stragu) from comment #8)
> Stephan and others, can we clarify if this is something that can only be
> fixed on the flatpak packaging side, or that needs to be fixed in LO core?

While fixing the issue will need modifications the LO core code, I think it makes more sense to track it on the Flatpak side.  See the referenced <https://github.com/flathub/org.libreoffice.LibreOffice/issues/92> "Can't send attachments from LO".  (And hence the "MOVED" state here.)
Comment 11 Stéphane Guillou (stragu) 2023-06-29 13:09:47 UTC
(In reply to Stephan Bergmann from comment #10)
> While fixing the issue will need modifications the LO core code, I think it
> makes more sense to track it on the Flatpak side.  See the referenced
> <https://github.com/flathub/org.libreoffice.LibreOffice/issues/92> "Can't
> send attachments from LO".  (And hence the "MOVED" state here.)

Thanks for clarifying, Stephan!