Closed
Bug 659244
Opened 14 years ago
Closed 11 years ago
p7m attachments are skipped in printing
Categories
(MailNews Core :: Printing, defect)
MailNews Core
Printing
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 27.0
People
(Reporter: intendentedelleacque, Unassigned)
References
Details
(Whiteboard: [fixed by bug 243833])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17
Build Identifier:
Once that you can have p7m attachments visible (using TB 3.3 alpha or using TB 3.1 or lower with the extension Smart P7M Support), you can see that they're not visible in printing and printing preview.
In my opinion this is due to http://mxr.mozilla.org/comm-central/source/mailnews/mime/emitters/src/nsMimeHtmlEmitter.cpp#419
Lines 419-425 should be changed from
419 if ( (contentType) &&
420 ((!strcmp(contentType, APPLICATION_XPKCS7_MIME)) ||
421 (!strcmp(contentType, APPLICATION_PKCS7_MIME)) ||
422 (!strcmp(contentType, APPLICATION_XPKCS7_SIGNATURE)) ||
423 (!strcmp(contentType, APPLICATION_PKCS7_SIGNATURE)) ||
424 (!strcmp(contentType, TEXT_VCARD)))
425 )
to
419 if ( (contentType) &&
420 ((!strcmp(contentType, APPLICATION_XPKCS7_SIGNATURE)) ||
421 (!strcmp(contentType, APPLICATION_PKCS7_SIGNATURE)) ||
422 (!strcmp(contentType, TEXT_VCARD)))
423 )
It should not create troubles or regression, because this function should be called just in printing.
Unluckly I've not skill enough to write a patch, but it shouldn't be difficult to do it based on the notes above.
Reproducible: Always
Steps to Reproduce:
1. use TB 3.3alpha or TB with the extension Smart p7m Support
2. select a message with a p7m attachment
3 [review]. run print-preview or print
Actual Results:
p7m attachment is not visible in print-preview/print
Expected Results:
p7m should be visible in print-preview/print
Comment 1•14 years ago
|
||
Unfortunately we backout a bug 243833.
Component: General → Printing
Depends on: 243833
Product: Thunderbird → MailNews Core
QA Contact: general → printing
Comment 2•14 years ago
|
||
Unfortunately we backout a bug 243833.
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #2)
> Unfortunately we backout a bug 243833.
Ok, I'm reading about this.
But this bug concerns a code totally different and - if the notes on the source code are exact - used just in printing.
Comment 4•11 years ago
|
||
Fixed by bug 243833 (according to bug 243833 comment 156)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 243833]
Target Milestone: --- → Thunderbird 27.0
You need to log in
before you can comment on or make changes to this bug.
Description
•