Closed Bug 1727018 Opened 4 years ago Closed 4 years ago

Attachments not handed off to vlc in a way that works with snap

Categories

(Thunderbird :: Untriaged, defect)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: charles, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Using Ubuntu 20.04.3 LTS and tbird 78.11.0 (64-bit)
I've been using Thunderbird for more than 10 years. Until now, attached MP4 videos play in VLC no problem, but now that Ubuntu has switch to the vlc snap, they don't.
tbird is putting the temporary files into /tmp which snap/vlc cannot access.
In Ubuntu 18*LTS, this was not a problem.
Ubuntu apt repository version of vlc doesn't work either.

Actual results:

with snap/vlc: MRL errors.
with ubuntu/vlc: nothing

Expected results:

Play video in VLC.
Suggested solution is to save temporary files in the same place the user specifies for downloads. excluding and prohibiting /tmp, but at any rate where snap/vlc can access them. They would need to be cleaned up at the end of a session to avoid junk piling up. As more applications move to snap, this is likely become an increasing problem with the existing strategy, for any application used for MIME mail handling. Snapcraft are not likely to change their approach to directory access I think.

Workaround:
uninstall ubuntu vlc
snap forget vlc (args needed)
then:

sudo apt-add-repository ppa:videolan/master-daily
sudo apt update
sudo apt install vlc

This will bring a lot of warnings about potential instability, but for now this works for me and more or less restores the desired behaviour. Not for the faint-hearted. Read the warnings.

Does problem reproduce when using newer version (91 for example) with Help > Troubleshoot mode?

Whiteboard: [closeme 2021-11-20]

Resolved per whiteboard

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2021-11-20]
You need to log in before you can comment on or make changes to this bug.