can't open pdfs

Bug #2067340 reported by Chelmite
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If a pdf file is attached to an email message, right-clicking and selecting Open does nothing.

In 23.10, clicking an attachment opened a dialog asking to save or view via an app (okular).

How do I get it so I can view attachments in this "better" flatpak version of thunderbird?

affects: linux (Ubuntu) → thunderbird (Ubuntu)
Revision history for this message
Chelmite (steve-kelem) wrote :

I have also tried setting Thunderbird's settings for Files & Attachments to "Use /bin/okular". The pdf files are still not opened.

As a workaround, I can save the pdf files and then open them with okular. But WHY do I have to do this in a roundabout way? It used to "just work" seamlessly!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
Revision history for this message
Reinhold Kainhofer (reinhold) wrote :

I'm also running into this problem, which appeared after the Ubuntu upgrade, which switched thunderbird from .deb to a snap package.
In the dmesg output I see several apparmor messages concerning thunderbird. I'm not sure which of them -- if any -- relates to the issue, but I strongly suspect that apparmor in connection with snap is to blame. I had similar issues when chromium switched to apparmor (they were solved in subsequent snap releases of chromium, though, mostly some pathes were missing in the whitelists). Here are the messages:

```
[258976.048246] audit: type=1400 audit(1717591622.426:6844): apparmor="DENIED" operation="mknod" class="file" profile="snap.thunderbird.thunderbird" name="/home/reinhold/.Schreibtisch/3YM0sAtL.jpg.part" pid=13704 comm="thunderbird-bin" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[266201.656966] audit: type=1107 audit(1717598848.060:6846): pid=1750 uid=105 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/UPower" interface="org.freedesktop.UPower" member="EnumerateDevices" mask="send" name="org.freedesktop.UPower" pid=13704 label="snap.thunderbird.thunderbird" peer_pid=2041 peer_label="unconfined"
[271081.412143] audit: type=1107 audit(1717603727.854:6847): pid=1750 uid=105 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="UserNew" name=":1.2" mask="receive" pid=13704 label="snap.thunderbird.thunderbird" peer_pid=1742 peer_label="unconfined"
[271081.459469] audit: type=1107 audit(1717603727.902:6848): pid=1750 uid=105 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="SessionNew" name=":1.2" mask="receive" pid=13704 label="snap.thunderbird.thunderbird" peer_pid=1742 peer_label="unconfined"
[271081.473690] audit: type=1400 audit(1717603727.918:6849): apparmor="DENIED" operation="open" class="file" profile="snap.thunderbird.thunderbird" name="/etc/fstab" pid=13704 comm="thunderbird-bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[271081.479958] audit: type=1400 audit(1717603727.922:6850): apparmor="DENIED" operation="open" class="file" profile="snap.thunderbird.thunderbird" name="/run/mount/utab" pid=13704 comm="thunderbird-bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
```

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.