can't open a thunderbird attachment in the firefox snap

Bug #1970607 reported by Imre Péntek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
New
Undecided
Unassigned

Bug Description

steps to reproduce:
1. doubleclick on a html attachment in thunderbird.
2. a dialog box shows asking whether you want to save it or open it
3. select opening with firefox

actual result:
firefox opens saying file not found

desired result:
firefox opens displaying the attachment

(most probably snap related issue)

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: thunderbird 1:91.8.0+build2-0ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
AddonCompatCheckDisabled: False
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: imi 1640 F.... pulseaudio
 /dev/snd/controlC1: imi 1640 F.... pulseaudio
 /dev/snd/pcmC1D0p: imi 1640 F...m pulseaudio
BuildID: 20220401203107
CasperMD5CheckResult: pass
Channel: Unavailable
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 27 13:09:04 2022
DefaultProfileExtensions: extensions.sqlite corrupt or missing
DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
DefaultProfileLocales: extensions.sqlite corrupt or missing
DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/thunderbird/omni.ja:greprefs.js:359
DefaultProfileThemes: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
InstallationDate: Installed on 2022-04-24 (2 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
IpRoute:
 default via 192.168.0.1 dev enx3c18a0702516 proto dhcp metric 100
 169.254.0.0/16 dev enx3c18a0702516 scope link metric 1000
 192.168.0.0/24 dev enx3c18a0702516 proto kernel scope link src 192.168.0.22 metric 100
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
Profile0Extensions: extensions.sqlite corrupt or missing
Profile0IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
Profile0Locales: extensions.sqlite corrupt or missing
Profile0PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/thunderbird/omni.ja:greprefs.js:359
Profile0PrefSources: prefs.js
Profile0Themes: extensions.sqlite corrupt or missing
Profiles:
 Profile1 (Default) - LastVersion=None/None (Out of date)
 Profile0 - LastVersion=91.8.0/20220401203107 (In use)
RunningIncompatibleAddons: False
SourcePackage: thunderbird
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/03/2019
dmi.bios.release: 15.49
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F.49
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 827E
dmi.board.vendor: HP
dmi.board.version: 94.71
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 94.71
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF.49:bd05/03/2019:br15.49:efr94.71:svnHP:pnHPSpectrex360Convertible13-w0XX:pvr:rvnHP:rn827E:rvr94.71:cvnHP:ct31:cvrChassisVersion:skuZ9E46EA#ABV:
dmi.product.family: 103C_5335KV G=N L=CON B=HP S=SPT
dmi.product.name: HP Spectre x360 Convertible 13-w0XX
dmi.product.sku: Z9E46EA#ABV
dmi.sys.vendor: HP

Revision history for this message
Imre Péntek (pentek-imre) wrote :
Revision history for this message
Imre Péntek (pentek-imre) wrote :

same thing happens with a html file in your tmp and then typing
$ firefox /tmp/myfile.html

Revision history for this message
Imre Péntek (pentek-imre) wrote :

for thunderbird it's clearly a usability issue, when a user clicks to open it in firefox, (s)he's right to expect the given attachment to be opened in firefox

Paul White (paulw2u)
affects: ubuntu → thunderbird (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. That sounds like an issue with the firefox snap, opening a file in /tmp from a fileselector correctly works using the desktop portals but using a command line argument gives an error which is probably because it's trying to directly read from /tmp which is a private directory in the snap context

affects: thunderbird (Ubuntu) → firefox (Ubuntu)
summary: - can't open a html attachment from thunderbird
+ can't open a thunderbird attachment in the firefox snap
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.