Thunderbird picks incorrect mime type for inline picture when drag-and-dropping
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
thunderbird (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When I attach png images by dragging from the file browser to the header region of the compose window, they are attached with correct mimetype.
Content-Type: image/png;
name="foo.png"
Content-
Content-
filename=
Similarly, *inline* png images attach fine when using Thunderbird's native file picker.
Content-Type: image/png;
name="foo.png"
Content-
Content-ID: <email address hidden>
Content-
filename=
However, when I attach them inline by *dragging* from the file browser into the body, they are attached with the incorrect mime type as
Content-Type: text/plain; charset=ISO-8859-1
Content-
Content-ID: <email address hidden>
The latter displays fine for the recipient if they are using Thunderbird, or via the gmail web interface. However, OSX Mail.app users only see a text file <Mail Attachment.txt> full of nonsense. Kmail also fails to display the image correctly.
It seems that Thunderbird is using the wrong mime type when png images are attached inline. (I also see a similar problem with .jpg files.)
I see the same problem whether dragging from Dolphin file browser, Konqueror, Krusader, Firefox (via the browser window itself), and Kate's file picker. With Firefox, I entered the file path into the url bar, and dragged from the main browser window. I also attempted to install Nautilus, but I can't even drag from it (with KDE). I've also tried dragging from Firefox's browser window in Xubuntu, which had the same problem.
I tried safe mode, and this didn't fix it. Finally, installing Thunderbird directly from the website *does* fix the problem so it's a problem introduced in the Ubuntu package.
TB 24.1.0
Kubuntu 13.10
KDE 4.11.2
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: thunderbird 1:24.1.
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
AddonCompatChec
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
BuildID: 20131028125905
CRDA:
country AU:
(2402 - 2482 @ 40), (N/A, 20)
(5170 - 5250 @ 40), (3, 23)
(5250 - 5330 @ 40), (3, 23), DFS
(5735 - 5835 @ 40), (3, 30)
Channel: Unavailable
Date: Mon Nov 11 15:18:44 2013
DefaultProfileP
prefs.js
/usr/lib/
/usr/lib/
[Profile]
[Profile]
ForcedLayersAccel: False
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2012-12-16 (329 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
IpRoute:
default via 192.168.1.254 dev wlan0 proto static
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.4 metric 9
MarkForUpload: True
MostRecentCrashID: bp-8716a067-
Profile1PrefSou
prefs.js
/usr/lib/
/usr/lib/
Profile1Prefs:
extensions.
network.
Profiles:
Profile0 (Default) - LastVersion=
Profile1 - LastVersion=
RelatedPackageV
kopete 4:4.11.2-0ubuntu1
google-talkplugin 4.7.0.0-1
rhythmbox-mozilla 2.99.1-0ubuntu1
RunningIncompat
SourcePackage: thunderbird
SubmittedCrashIDs:
bp-8716a067-
bp-8c247ae3-
bp-1ab81b2c-
UpgradeStatus: Upgraded to saucy on 2013-10-18 (24 days ago)
dmi.bios.date: 09/07/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A19
dmi.board.
dmi.board.name: 0XN71K
dmi.board.vendor: Dell Inc.
dmi.board.version: FAB1
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Dell System XPS L702X
dmi.sys.vendor: Dell Inc.
Status changed to 'Confirmed' because the bug affects multiple users.