Inline images lost when forwarding message composed by Thunderbird

NEW
Unassigned

Status

Thunderbird
Mail Window Front End
6 years ago
a month ago

People

(Reporter: Aaron Lawrence, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

6 years ago
With TB17, also same with TB15. Connected to IMAP on Fastmail.fm. Tried with a pasted PNG, and with drag-dropped JPG. All on Windows 7 x64. I have an HTML signature with embedded image (that also gets lost).
1. Compose a new HTML message.
2. Write one line of text.
3. Paste, or drag-drop a picture into the message.
4. Send the email to a recipient who can receive HTML email.
5. Go to the Sent Items folder.
6. Open the email. It will appear as expected with one of text and the image.
7. Forward it inline. In the compose window, the image will appear with the broken image icon.

I tried safe mode, same result.
I tried removing the signature, same result.


This is reproducible 100% of the time.

The workaround from other bugs of using Reply or Reply to All gets a compose window with working images.
(Reporter)

Comment 1

6 years ago
BTW The image is correctly received (gmail shows the image, and the signature, correctly)
(Reporter)

Comment 2

6 years ago
Created attachment 691081 [details]
Compose window.
(Reporter)

Comment 3

6 years ago
Created attachment 691082 [details]
Viewing sent message.
(Reporter)

Comment 4

6 years ago
Created attachment 691083 [details]
Forwarding message - images broken
I have the same problem when I use my Add-on SmartTemplate4. Not quite sure yet what's causing this - these are images stored locally I am currently debugging the ComposeStartup( ) function.

editor.document.body.addEventListener that adds an error event listener to deal with image replacements is called in both cases but the event don't fire after ST4 has done its processing. This is difficult to debug as debugging is slow,,,

something must happen to document,body that affects these event listeners. When I open error console however the message

Security Error: Content at moz-nullprincipal:{c68aa70c-65a2-4fe4-a952-302125db9c1f} may not load or link to imap://seawonkey%40gmail%2Ecom@mail.gmail.com:993/fetch%3EUID%3E/INBOX%3E87?part=1.2.2&filename=imacoljcadpngdic.png.

is fired which indicates that an error should be fired?
(In reply to Axel Grude [:realRaven] from comment #5)
> Security Error: Content at
> moz-nullprincipal:{c68aa70c-65a2-4fe4-a952-302125db9c1f} may not load or
> link to
> imap://seawonkey%40gmail%2Ecom@mail.gmail.com:993/fetch%3EUID%3E/
> INBOX%3E87?part=1.2.2&filename=imacoljcadpngdic.png.
> 
> is fired which indicates that an error should be fired?

these logs appear in both cases 

# with my ADd-on disabled, where the image replacement is not omitted; 
# with my Add-on enabled (but the error event listener is not executed). THe image tags are still in the source code but are not converted.
You need to log in before you can comment on or make changes to this bug.