Open Bug 1773929 Opened 3 years ago Updated 8 months ago

Thunderbird will not open attachments with flatpak applications.

Categories

(Thunderbird :: Untriaged, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: fallsjd, Unassigned)

Details

Attachments

(3 files, 1 obsolete file)

Attached image gimp.png

Steps to reproduce:

Currently running CentOS 8 Stream, kernel 4.18.0-383.el8.x86_64, X11 windows.

I'm running Thunderbird installed from the "centos-release-plus" repo because of the capability of handling openpgp key management.

I email myself or anyone else attachments that can be opened by flatpak applications -- for example a pdf file and a png image file.

Actual results:

When double-clicking on the attachments, I'm presented with the pop-up window asking what application I'd like to open the attachment with (so far so good). When I select the flatpak application, and then hit OK, the pop-up disappears, but the application does not open.

Expected results:

The flatpak application should have opened the file. For example, I have a flatpak version of GIMP installed that I use to edit images. I also use Inkscape for editing certain pdf files.

I noticed there is also an option for a generic "flatpak" from the pop-up selector window -- but that also doesn't seem to do anything when clicking OK.

I tested on several CentOS 8 Stream laptops with the same results. I was able to use the flatpak version of Apostrophe to open a markdown attachment, but still no go with GIMP or Inkscape.

I checked journalctl and got these lines from [Thunderbird.desktop] when I hit OK for the GIMP program:

'
error: '/tmp/pid-3848/brother_printer_driver_install-5.png' is not a flatpak command. Did you mean '--supported-arches'?
See '/usr/bin/flatpak --help'
'

Attachment #9384273 - Attachment is obsolete: true
Attached image popup.png

The new behaviour of the popup is shown in popup.png

Clicking "Ok" with "system handler" selected causes no visible action. However, xdg-desktop-portal segfaults.

I fixed the segfault (https://github.com/flatpak/xdg-desktop-portal/pull/1306) and the new error is:

xdg-desktop-por[50609]: Rejecting open request: stat /tmp/pid-2/<filename>: No such file or directory

My bad, I misunderstood the OP. This is a different bug!

I could not reproduce this with the latest Thunderbird beta. I opened an image successfully using both Gimp and Inkscape - both of which are flatpak apps.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: