Closed Bug 736571 Opened 12 years ago Closed 12 years ago

Forwarded mail is incorrectly presented in the plaintext editor.

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
All
defect
Not set
normal

Tracking

(thunderbird13+ fixed)

RESOLVED FIXED
Thunderbird 14.0
Tracking Status
thunderbird13 + fixed

People

(Reporter: mhoye, Assigned: mconley)

References

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120316 Firefox/14.0a1
Build ID: 20120316031151

Steps to reproduce:

 
I have this message in my sentmail folder: 


-------------


Hello, folks -

I'm just following up about the tech demo I showed you in late January. Have you come to any conclusions about it?

Thanks,

-- 
Michael Hoye
Bespoke I/O
http://bespokeio.com 

-------------





and when I click "Forward", I see this:

-------------

-------- Original Message --------

Subject: Re: WebFWD Intro

Date: Tue, 14 Feb 2012 11:34:55 -0500

From: Mike Hoye <mhoye@bespokeio.com>

To: Pascal Finette | Mozilla <pfinette@mozilla.com>

CC: Diane Bisgeier <dbisgeier@mozilla.com>


Hello, folks -




Thanks,
















I'm just following up about the tech demo I showed you in late January. Have you come to any conclusions about it?

-- Michael HoyeBespoke I/Ohttp://bespokeio.com

-------------

Because wat.


Actual results:


http://pastebin.mozilla.org/1522640 




Expected results:


Not that.
Blocks: BigFiles
Assignee: nobody → mconley
Keywords: regression
OS: Mac OS X → All
Summary: Forwarded mail is incorrectly presented in the editor. → Forwarded mail is incorrectly presented in the plaintext editor.
Attached patch Patch v1Splinter Review
First run at a patch.
Comment on attachment 606708 [details] [diff] [review]
Patch v1

It's funny - the bug I was seeing before, where carriage returns were being truncated...I'm not seeing it now.  I wonder if the changes made to nsMsgCompose.cpp fixed that.  :/

Regardless, this *seems* to fix things.  Do you have cycles to test / review this, Jim?
Attachment #606708 - Flags: review?(squibblyflabbetydoo)
A workaround for now is to forward mail using the HTML editor (press and hold Shift while clicking Forward to do this).
Confirmed with today's trunk nightly. Forwarding as attachment is broken as well, I'll file a separate bug on that.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(confirmed that it's broken badly, I mean, not that the patch works - the message is basically completely rearranged when forwarding inline...)
Comment on attachment 606708 [details] [diff] [review]
Patch v1

Review of attachment 606708 [details] [diff] [review]:
-----------------------------------------------------------------

This works for me, too.
Attachment #606708 - Flags: review?(squibblyflabbetydoo) → review+
Attachment #606708 - Flags: approval-comm-aurora?
Committed to comm-central as http://hg.mozilla.org/comm-central/rev/c212bdbccf39
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 14.0
rsx11m:

When tonight's Daily gets spun out, mind taking it for a spin to see if we've fully resolved the issue?

Thanks!

-Mike
Attachment #606708 - Flags: approval-comm-aurora? → approval-comm-aurora+
Looking at Thunderbird/14.0a1 BuildID=20120319030043 on Windows 7, the main issue seems to be fixed with today's nightly. The spacing in the forwarded part matches the original spacing. However, there is an additional blank line now at the very top of the plain-text composition window (i.e., three blank lines before the "---Original Message---" heading instead of two as before). This may be unrelated to the bug here though, given that a simple "Write" opens the composition window with an additional blank line on top in the editor which wasn't there before.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: