Closed Bug 1365980 Opened 4 years ago Closed 4 years ago

Printing Event Invitation incomplete


(Calendar :: Printing, defect)

Lightning 5.4
Not set


(Not tracked)



(Reporter: linux, Assigned: MakeMyDay)



(Keywords: regression)


(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.114 Safari/537.36 Vivaldi/1.9.818.50

Steps to reproduce:

Installing 52.1.1 on different machines -> same result
Installing previous version -> expected result

Actual results:

When you try to print an event invitation, the event is missing, even in the print preview.
Only the header (from, to, subject et.) is shown.

Expected results:

The header and the event are shown and you can find it on the print.
I can confirm that when printing a message that contains an event, the event doesn't show up in print preview.
Component: Message Reader UI → General
Ever confirmed: true
Product: Thunderbird → Calendar
Version: 52 Branch → Lightning 5.4
Component: General → Printing
Any error console messages? Can you attach a screenshot?
Flags: needinfo?(linux)
No error in the console. I think this is a problem of how the ICS attachment is rendered for printing, as a wild guess, maybe some MIME call not being set up correctly. I've just come across this recently:
Maybe not triggered for printing. Anyway, I could be 500% wrong ;-(
Flags: needinfo?(linux)
We had an issue with that in 4.7.*, but this was successfully fixed with bug 1268856, so this has been working again with 4.7.2++ and must be a regression. Have there been any mime handling changed for TB52 in mailnews?
(In reply to [:MakeMyDay] from comment #4)
> Have there been any mime handling changes for TB52 in mailnews?
Yes, plenty:

I'm sure Alice can find the regression for us. Alice, please print preview the attached message (from bug 1360155, slightly edited).
Flags: needinfo?(alice0775)
Attached file Event test 3.eml
Thanks Alice. Very much appreciated, as always.

Looks like MIME and me didn't break it, but you calendar guys did ;-)
Thanks for detectiong the regression range. Yes, my bad. With bug 1225784, I accidentally partly reverted the fix from bug 1268856.

This patch takes care of it.
Assignee: nobody → makemyday
Attachment #8869846 - Flags: review?(philipp)
Attachment #8869846 - Flags: review?(philipp) → review+
Keywords: checkin-needed
Attachment #8869846 - Flags: approval-calendar-esr?(philipp)
Attachment #8869846 - Flags: approval-calendar-beta?(philipp)
Closed: 4 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 5.7
Works nicely now, thanks for fixing it quickly!
Attachment #8869846 - Flags: approval-calendar-esr?(philipp)
Attachment #8869846 - Flags: approval-calendar-esr+
Attachment #8869846 - Flags: approval-calendar-beta?(philipp)
Attachment #8869846 - Flags: approval-calendar-beta+
You need to log in before you can comment on or make changes to this bug.