Quantcast

Bug 549558 - Text Color and Background Color

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug 549558 - Text Color and Background Color

James Concorso
When background and text colors are set via the Composition tab of the
Options dialog, Thunderbird places those colors in the body tag of a
message, and a web mail recipient sees black font on white background
regardless of sender’s intention. This is because web mail sites like
GMail  ignore or strip off the body tag to prevent the entire
interface from taking on the colors of the message. The sender is
unaware of the problem unless the message is replied to. When the
colors are set via the color icon of the new message window prior to
clicking the karat into the message body pane, Thunderbird inserts
localized color tags, and the recipient sees the right colors within
web mail.

Here is a link to a report that I filed regarding this bug; Nathan
Tuggy of Mozilla QA has helped to confirm and diagnose it:

https://bugzilla.mozilla.org/show_bug.cgi?id=549558

This bug has been unreported for years, probably because the sender
sees the right colors, the recipient is usually unaware of what the
intended colors are, and the message colors are incorrect only if
viewed via a web browser. It is important to us that the bug be fixed,
however, because many of our customers prefer that particular color
settings be applied to all messages that they compose, and do not want
to set it in the new message window every time.

We like to cater to customer preferences wherever possible, including
email font color. There is a TV ad campaign for HonorPC beginning this
Tuesday 03/30/2010 on FiOS TV, so if anyone can fast track this bug to
the right developer, we would really appreciate it.
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 549558 - Text Color and Background Color

JoeS-3
On 3/27/2010 7:00 PM, James Concorso wrote:

> When background and text colors are set via the Composition tab of the
> Options dialog, Thunderbird places those colors in the body tag of a
> message, and a web mail recipient sees black font on white background
> regardless of sender’s intention. This is because web mail sites like
> GMail  ignore or strip off the body tag to prevent the entire
> interface from taking on the colors of the message. The sender is
> unaware of the problem unless the message is replied to. When the
> colors are set via the color icon of the new message window prior to
> clicking the karat into the message body pane, Thunderbird inserts
> localized color tags, and the recipient sees the right colors within
> web mail.
>
> Here is a link to a report that I filed regarding this bug; Nathan
> Tuggy of Mozilla QA has helped to confirm and diagnose it:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=549558
>
> This bug has been unreported for years, probably because the sender
> sees the right colors, the recipient is usually unaware of what the
> intended colors are, and the message colors are incorrect only if
> viewed via a web browser. It is important to us that the bug be fixed,
> however, because many of our customers prefer that particular color
> settings be applied to all messages that they compose, and do not want
> to set it in the new message window every time.
>
> We like to cater to customer preferences wherever possible, including
> email font color. There is a TV ad campaign for HonorPC beginning this
> Tuesday 03/30/2010 on FiOS TV, so if anyone can fast track this bug to
> the right developer, we would really appreciate it.

I'm not sure about the "nudge" scenario in your bug, but:
> The bgcolor attribute of <body> is deprecated, and is not supported in HTML 4.01 Strict / XHTML 1.0 Strict DTD.
>
> Use CSS instead.
>
> CSS syntax: <body style="background-color:#E6E6FA">

Evidently Gmail is following this trend, and TB is not.
bgcolor seems to be ignored in gmail rendering.

The thought has been put forward that CSS should not be used in email because of compatibility issues.
I would suggest, that if TB doesn't change that view, then the app itself will become "deprecated"

It is possible, however to compose modern day styles to the body.
Format>>Page colors and background>>advanced>>inline styles
Insert background-color value as desired.

Not easily discoverable or a great UI, but at least possible.


--
JoeS Using TB3
http://kb.mozillazine.org/Thunderbird_3.0_-_New_Features_and_Changes
https://developer.mozilla.org/en/Thunderbird/Thunderbird_Binaries
http://kb.mozillazine.org/Breakpad#Using_the_application_to_view_crash_reports
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 549558 - Text Color and Background Color

Arivald
W dniu 2010-03-28 07:05, JoeS pisze:

> On 3/27/2010 7:00 PM, James Concorso wrote:
>> When background and text colors are set via the Composition tab of the
>> Options dialog, Thunderbird places those colors in the body tag of a
>> message, and a web mail recipient sees black font on white background
>> regardless of sender’s intention. This is because web mail sites like
>> GMail ignore or strip off the body tag to prevent the entire
>> interface from taking on the colors of the message. The sender is
>> unaware of the problem unless the message is replied to. When the
>> colors are set via the color icon of the new message window prior to
>> clicking the karat into the message body pane, Thunderbird inserts
>> localized color tags, and the recipient sees the right colors within
>> web mail.
>>
>> Here is a link to a report that I filed regarding this bug; Nathan
>> Tuggy of Mozilla QA has helped to confirm and diagnose it:
>>
>> https://bugzilla.mozilla.org/show_bug.cgi?id=549558
>>
>> This bug has been unreported for years, probably because the sender
>> sees the right colors, the recipient is usually unaware of what the
>> intended colors are, and the message colors are incorrect only if
>> viewed via a web browser. It is important to us that the bug be fixed,
>> however, because many of our customers prefer that particular color
>> settings be applied to all messages that they compose, and do not want
>> to set it in the new message window every time.
>>
>> We like to cater to customer preferences wherever possible, including
>> email font color. There is a TV ad campaign for HonorPC beginning this
>> Tuesday 03/30/2010 on FiOS TV, so if anyone can fast track this bug to
>> the right developer, we would really appreciate it.
>
> I'm not sure about the "nudge" scenario in your bug, but:
>> The bgcolor attribute of <body> is deprecated, and is not supported in
>> HTML 4.01 Strict / XHTML 1.0 Strict DTD.
>>
>> Use CSS instead.
>>
>> CSS syntax: <body style="background-color:#E6E6FA">
>
> Evidently Gmail is following this trend, and TB is not.
> bgcolor seems to be ignored in gmail rendering.
>
> The thought has been put forward that CSS should not be used in email
> because of compatibility issues.
> I would suggest, that if TB doesn't change that view, then the app
> itself will become "deprecated"
>
> It is possible, however to compose modern day styles to the body.
> Format>>Page colors and background>>advanced>>inline styles
> Insert background-color value as desired.
>
> Not easily discoverable or a great UI, but at least possible.
>

You may simplify it, using my Stationery extension.

This extension simply loads HTML template in to every new mail.
In my templates I have lot of CSS (in <head><stryle> block), and it
helps for numerous TB bugs.

--
Arivald

_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 549558 - Text Color and Background Color

James Concorso
Thunderbird only accepts body-element CSS using the stationery
extension, which is stripped off when a recipient views their mail in
a web browser. An open a div in an htm stationery template gets closed
by Thunderbird before the message text starts, and paragraph tags in
an htm stationery template are removed by Thunderbird altogether.
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug 549558 - Text Color and Background Color

Arivald
W dniu 2010-03-29 18:00, James Concorso pisze:
> Thunderbird only accepts body-element CSS using the stationery
> extension, which is stripped off when a recipient views their mail in
> a web browser. An open a div in an htm stationery template gets closed
> by Thunderbird before the message text starts, and paragraph tags in
> an htm stationery template are removed by Thunderbird altogether.

First, stationery as extension is not send with mail.
Stationery extension only allow You to load predefined HTML template as
mail body.

For Your problem, try this:

1) cut this HTML and save as template.
colors (red/yellow) ar efor example only.

<html><head></head>
<body style="color: red; background-color: yellow;">
<h3>Hi</h3>
<p>...mail text here...</p>
</body></html>


2) Load this template using Stationery, and send it to Your (or Your
friend) Gmail account.

3) check results.

4) Now reply to this mail (or ask Your friend to reply), and check what
You got back... body colors should be preserved.


BTW, Gmail web interface sucs... it strips lot of CSS from mail... for
example, in my test template i have rounded corners, and text/ block
shadows... but Gmail strips it all out, making mail almost unreadable.
Also it does not preserve CSS references to <body>. If You use "style"
atrib in <body>, it will be preserved, but Gmail did not translate other
CSS...

For Your friends, tell him Thunderbird is much better than Gmail ;-)

if You are some questions, feel free to ask me on [hidden email].

--
Arivald



_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Loading...