Closed Bug 553362 Opened 14 years ago Closed 12 years ago

Multipart/alternative: text/html part not shown when "View > Message Body as > Plain text" and vice versa

Categories

(Thunderbird :: Message Reader UI, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: asherman, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b2pre Thunderbird/3.0.3

The following strings

Thank you, ITTF
http://www.ittf.com/

are only displayed form the massage attached.
Other text is not displayed

Reproducible: Always

Steps to Reproduce:
1. Open the message attached
2. Only one part -
Thank you, ITTF
http://www.ittf.com/
is displayed
3. Other text is not displayed
Actual Results:  
Some parts of a multi-part message are not displayed

Expected Results:  
All parts of the message should be displayed
Attached file the buggy message
Duplicate of MailNews Core bug 130119?
This WFM on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.2pre) Gecko/20100321 Lanikai/3.1b2pre.

Arkady Have you tried safe mode? (see https://support.mozillamessaging.com/en-US/kb/Safe+Mode for more information)
Have tried the Save Mode, the behavior is the same - only 

Thank you, ITTF
http://www.ittf.com/

is displayed, but not the further information with the account details.
Can you try in 3.1b1 ?
It's the same in 3.1b1.
Attached image screenshot (work fine?)
Arkady, using trunk builds Mozilla/5.0 (Windows NT 6.1; rv:2.0b12pre) Gecko/20110218 Thunderbird/3.3a3pre I see all message as attached screenshot: can you confirm that work fine?
(In reply to comment #0)
> Expected Results:  
> All parts of the message should be displayed

(In reply to comment #1)
> the buggy message

Message source.
> Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A9_01CAC6B0.A43411A0"
> ------=_NextPart_000_00A9_01CAC6B0.A43411A0
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Thank you, ITTF
> http://www.ittf.com/
> ------=_NextPart_000_00A9_01CAC6B0.A43411A0
> Content-Type: text/html
> 
> <html><body>Dear arkady sherman, (nip)
> ------=_NextPart_000_00A9_01CAC6B0.A43411A0--

Because of multipart/alternative, Tb shows next, based on definition of multipart/alternative which is defined by RFC relevant to e-mail;
- View/Message Body As/Plain Text:           show text/plain part
- View/Message Body As/Original/Simple HTML: show text/html part

To bug opener:
Sorry but Thunderbird is RFC compliant mailer.
If you believe "All parts of the message should be displayed", use mailer who doesn't care for definitions by RFC, or mailer who always behaves as you want.

This *bug* at B.M.O should be closed as INVALID, because of a *bug* at B.M.O instead of a thread of a support forum.
If this bug is request of enhancement like next, it's a reasonable request.
  Needs a way to show all parts in multiple/alternative at same time,
  in case that different content is put in text/plain and text/html by sender.
> Expected Results:  
> All parts of the message should be displayed

Tb's "Plain Text" mode in my previous comment was wrong.
> - View/Message Body As/Plain Text:           show text/plain part
Tb's current behaviour was next(it was reported as Bug 253830); 
- View/Message Body As/Plain Text: show text converted from text/html part

If your request is "Show content in text/plain part when Text Plain mode", it's dup of Bug 253830. 

If your request is one like next, it's fulfiled by new "All Body Parts" of View/Message Body As.
> Needs a way to show all parts in multiple/alternative at same time,

Not ad-hoc way, but new "All Body Parts" of View/Message Body As, which is global setting, has been implemented by Bug 602718.
The "All Body Parts" mode is mode which shows any multipart/xxx as if multipart/mixed, so it's applied to multipart/alternative.
Because of this functionality, text/plain and text/html part under multipart/altrnative are shown at same time, and both parts are shown as attachment at attachment pane, and, as a result of sort out/clean up by bug 351224, any part can be detached/deleted.

Arkady Sherman(bug opener), does the new "All Body Parts" fulfill your requirement?
Guess it does, thanks.
Arkady, then we can close this as fixed by bug #602718?
Whiteboard: [closeme 2012-01-11]
Thanks, yes.
But guess it should be not in an add-on, but in the original menu.
Whiteboard: [closeme 2012-01-11]
TB 13 on WinXP still does the correct thing on test.eml of attachment 433376 [details]:
Of multipart/alternative, correct part is shown as defined in RFCs depending on
View > Message body as > Plain text OR HTML flavors.

To view *all* message body parts at the *same* time:
Tools > Options > Advanced > General > Config Editor (why on earth is this thing so hidden?), then set following preference to "true":
mailnews.display.show_all_body_parts_menu

This will add a fourth option to View > Message Body as:
All body parts

With that option, all body parts are shown at same time, and all body parts are listed as attachments.

Any requests beyond that (probably not needed for most users), e.g. make that preference accessible from UI, need a new bug.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Summary: Some parts of a multi-part message are not displayed → Multipart/alternative: text/html part not shown when "View > Message Body as > Plain text" and vice versa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: