Open Bug 1668774 Opened 4 years ago Updated 4 years ago

When replying to certain HTML email, (background) colors may leak into composition.

Categories

(Thunderbird :: Message Compose Window, defect)

defect

Tracking

(Not tracked)

People

(Reporter: martin84a, Unassigned, NeedInfo)

Details

(Whiteboard: [dupeme])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

I received a message from an Amazon seller and I tried to respond back.

Actual results:

https://i.imgur.com/0kVFRpw.gif

The font color and background was completely messed up.

Expected results:

I expected a white/clean non-formatted answer box. Similarly to how it would work on Gmail or similar.

Attached image Screenshot from video of comment 0 (deleted) —

(In reply to martin84a from comment #0)

Hi Martin,

Actual results:
https://i.imgur.com/0kVFRpw.gif
The font color and background was completely messed up.

Nothing messed up, the format of the Amazon HTML document is just leaking into your response. Depending on their formatting used, this might be pretty hard to avoid technically, because their HTML and yours are in the same document. So essentially you should blame Amazon, not Thunderbird.

If you want to remove all the formatting before responding, try this trick:

Hold Shift key while you are clicking on Reply (also works with keyboard for Reply menus).
That will remove all HTML formatting for your reply - the other extreme... ;-)

It really depends on the formatting used by Amazon, if they use something like <body bgcolor...> we can't change that.
I've just tried responding to GMX advertising message and the problem does not occur, contained formatting from their side.

Unfortunately, at this time, there's nothing we could or would do about this beyond the Shift-to-strip-HTML trick of comment 1.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Component: Untriaged → Message Compose Window
Resolution: --- → WONTFIX
Summary: When replying to certain emails, the format is broken. → When replying to certain HTML email, (background) colors may leak into composition.

Thanks for the quick reply Thomas. I used Gmail and it fixed it, but I do love the old blue bird, so I am sad that it isn't that easy to fix. But I understand that it would be tricky and resource heavy to do so. Cheers

(In reply to martin84a from comment #3)

Thanks for the quick reply Thomas. I used Gmail and it fixed it

On second thoughts, maybe we can identify some quick gains. If the message replied-to was using body bg-color, maybe we could remove that and/or stuff the original message into a div with that background-color. If you can assist with investigating what exactly is leaking and how, maybe someone can pick up from there. You can use Ctrl+U on the original message and the saved draft of your composition to see the source (inside composition, you might use Ctrl+A, then Insert > HTML to see and edit the source, but it won't show the outer parts of the HTML).

but I do love the old blue bird, so I am sad that it isn't that easy to fix.

Thanks for the sympathy with the old blue bird, still flying strong, wait for the face-lift of TB 78, maybe getting younger ;-)

Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WONTFIX → ---
Status: REOPENED → NEW
Whiteboard: [dupeme]

Martin, can you do this?

  • save the amazon message as .eml, then edit with text editor and search and replace any private names and email addresses with placeholders.
  • attach the amazon.eml to this bug for reference.
  • Investigate what exactly is leaking and how, per comment 4, and report back. Where are the leaking background and foreground colors defined?
Flags: needinfo?(martin84a)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: