Open Bug 820589 Opened 12 years ago Updated 2 years ago

Inline images lost when forwarding message composed by Thunderbird

Categories

(Thunderbird :: Mail Window Front End, defect)

x86_64
Windows 7
defect

Tracking

(Not tracked)

People

(Reporter: aaronclawrence, Unassigned)

Details

Attachments

(3 files)

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.
BTW The image is correctly received (gmail shows the image, and the signature, correctly)
Attached image Compose window.
Attached image Viewing sent message.
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.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: