Closed Bug 310264 Opened 19 years ago Closed 17 years ago

unable to print forwarded mail (message/rfc822)

Categories

(MailNews Core :: Printing, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wind.li, Assigned: iannbugzilla)

References

Details

(Keywords: fixed-seamonkey1.1.3, regression, verified1.8.1.5)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

In ThunderBird 1.5b1, select a mail forward to you, double click the forwarded
mail in the attachments to open it. Click print or print preview in the
toolbar,you will get a printing preparing dialog, and it will not finish at all.

Reproducible: Always

Steps to Reproduce:
1.In ThunderBird 1.5b1, select a mail forward to you
2.double click the forwarded mail in the attachments to open it
3.Click print or print preview in the toolbar

Actual Results:  
a printing preparing dialog, and it will not finish at all
Summary: unable to print forwarded mail → unable to print forwarded mail
Version: unspecified → 1.5
There's actually very little that can be done with a forwarded message; see 
bug 204350.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 1.5 → Trunk
Blocks: 204350
With the patch for bug 204350, it is possible to print a forwarded message; however, the results are not as desired; see bug 204350 comment 41.

Actual results:
The printout shows the source of the message, rather than the text; all attachments are shown in their source state, which could be pages and pages of BASE64.

Expected results:
Minimal headers, message text shown as displayed, attachments printed out just as if the message had been opened from a folder rather than an attachment.
I can confirm this with Thunderbird version 1.5 (20051025)

Furthermore, saving the attached email to disk, opening it from there and trying to print causes Thunderbird to crash!

This seems to indicate that currently there is no way to print an attached message.
I can also confirm this works in 1.0.7 (version 1.0.7 (20050923))

I can open an attached message, and open a message attached to that message, and print it no problem.
(In reply to comment #4)
> I can also confirm this works in 1.0.7 (version 1.0.7 (20050923))

Quite right! My fault for not checking this.  1.5rc1 hangs on print, as described with this bug; 1.6a1-1109 prints the message source.
Keywords: regression
I can also confirm this with Thunderbird version 1.5 final release on win32 (20051201)
The workaround is to save the attachment as a .EML file, open that file using File|Open, and print from there.
*** Bug 322961 has been marked as a duplicate of this bug. ***
*** Bug 338814 has been marked as a duplicate of this bug. ***
Summary: unable to print forwarded mail → unable to print forwarded mail (message/rfc822)
*** Bug 338586 has been marked as a duplicate of this bug. ***
Component: Mail Window Front End → MailNews: Printing
OS: Windows 2000 → All
Product: Thunderbird → Core
confirmed on tb2a1 build 20060828

the eml attachment opens correctly, but TB prints a white page and so print preview, that shows a white page
*** Bug 360764 has been marked as a duplicate of this bug. ***
Flags: blocking-thunderbird2?
Moving off bugs that didn't make the deadline for Thunderbird 2. 
Flags: blocking-thunderbird2? → blocking-thunderbird2-
Flags: blocking-thunderbird2- → blocking-thunderbird2?
if the param.originalMsgURI is imap rather than imap-message then Edit as New fails, setting that variable to an empty string means Edit as New works.
This patch:
* Changes two lines to take into account attached emails are now type=application/x-message-display instead of type=x-message-display
Assignee: mscott → iann_bugzilla
Status: NEW → ASSIGNED
Attachment #265463 - Flags: superreview?(mscott)
Attachment #265463 - Flags: review?(mscott)
Attachment #265463 - Flags: superreview?(mscott)
Attachment #265463 - Flags: superreview+
Attachment #265463 - Flags: review?(mscott)
Attachment #265463 - Flags: review+
Comment on attachment 265463 [details] [diff] [review]
Simple patch v0.1 (Checked into trunk & 1.8 branch)

Checking in (trunk)
nsMsgPrintEngine.cpp;
new revision: 1.84; previous revision: 1.83
done
Attachment #265463 - Attachment description: Simple patch v0.1 → Simple patch v0.1 (Checked into trunk)
Comment on attachment 265463 [details] [diff] [review]
Simple patch v0.1 (Checked into trunk & 1.8 branch)

Requesting a= for TB and SM for very simple, low-risk regression fix.
Attachment #265463 - Flags: approval-thunderbird2?
Comment on attachment 265463 [details] [diff] [review]
Simple patch v0.1 (Checked into trunk & 1.8 branch)

I think we'd need 1.8.1.5 approval for this...thx a lot for fixing this, Ian.
Attachment #265463 - Flags: approval1.8.1.5?
Fixed on trunk, just waiting for branch approvals -> Resolved / Fixed
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment on attachment 265463 [details] [diff] [review]
Simple patch v0.1 (Checked into trunk & 1.8 branch)

approved for 1.8.1.5, a=juanb for release-drivers
Attachment #265463 - Flags: approval1.8.1.5? → approval1.8.1.5+
Comment on attachment 265463 [details] [diff] [review]
Simple patch v0.1 (Checked into trunk & 1.8 branch)

Checking in (1.8 branch)
nsMsgPrintEngine.cpp;
new revision: 1.78.12.1; previous revision: 1.78
done
Attachment #265463 - Attachment description: Simple patch v0.1 (Checked into trunk) → Simple patch v0.1 (Checked into trunk & 1.8 branch)
Attachment #265463 - Flags: approval-thunderbird2?
Flags: blocking-thunderbird2?
I just finished printing a couple levels of forwarded messages, just fine, in both the 3-pane and the message pane, with:

version 2.0.0.5pre (20070710) running on Windows XP SP2.

Replacing fixed1.8.1.5 keyword with verified1.8.1.5
Works for me on Thunderbird 2.0.0.6 on Win2k AS
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: