Closed Bug 1626391 Opened 5 years ago Closed 5 years ago

Calendar events will not print (the preview as well as printout is just blank)

Categories

(Calendar :: Printing, defect, P1)

Thunderbird 76
defect

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 77.0

People

(Reporter: jmacione, Assigned: darktrojan)

References

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

Went to calendar and highlighted event for printing and then went to print. On print screen I checked the event desired to print, as usual.

Actual results:

The items to print on the print screen are not there.....The screen is blank..

Expected results:

The event should have shown on the screen to be printed.

Printing is broken since Daily 75.0a1 and still broken in 75.0b2.

It is fixed in 75.0b3 which could be released in a couple days.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

Printing is broken since Daily 75.0a1 and still broken in 75.0b2.

It is fixed in 75.0b3 which could be released in a couple days.

Component: Untriaged → Printing
OS: Unspecified → Windows 10
Product: Thunderbird → Calendar
Hardware: Unspecified → x86_64
Version: 75 → unspecified

This is another issue. The actual printing works, but it is just (like the preview) blank.

Status: RESOLVED → REOPENED
Ever confirmed: true
Keywords: regression
OS: Windows 10 → All
Hardware: x86_64 → All
Resolution: DUPLICATE → ---
Summary: Calendar events will not print → Calendar events will not print (the preview is just blank)
Version: unspecified → Thunderbird 76
Status: REOPENED → NEW
Priority: -- → P1

Sorry, I did not understand that "print screen" meant print preview dialog and should have tested this before marking it as a duplicate.

So the steps to reproduce would be something like the following.

Select/highlight one or more event or task in the Calendar tab.
Select File > Print from the Menu bar, Print from the Menu button, or use the Ctrl+P key combination.
When the Print preview dialog opens select "Selected events/tasks".

In the error console I see this:

NetworkError: A network error occurred. 2 calXMLUtils.jsm:148
Calendar print dialog:refreshHtml: NetworkError: A network error occurred. calendar-print-dialog.js:248
refreshHtml chrome://calendar/content/calendar-print-dialog.js:248
onOperationComplete chrome://calendar/content/calendar-print-dialog.js:153
onOperationComplete resource:///modules/CalCompositeCalendar.jsm:493
notifyPureOperationComplete resource:///modules/calendar/utils/calProviderUtils.jsm:515
notifyOperationComplete resource:///modules/calendar/utils/calProviderUtils.jsm:534
getItems resource:///modules/CalStorageCalendar.jsm:838
AsyncFunctionNext self-hosted:695
(Async: async)
funcName resource:///components/calCachedCalendar.js:973
getItems resource:///modules/CalCompositeCalendar.jsm:393
getPrintSettings chrome://calendar/content/calendar-print-dialog.js:172
refreshHtml chrome://calendar/content/calendar-print-dialog.js:212
loadCalendarPrintDialog chrome://calendar/content/calendar-print-dialog.js:63
onload chrome://calendar/content/calendar-print-dialog.xhtml:1

https://searchfox.org/comm-central/rev/8d05752f683d1c7ae8bf85d9584fc6418427b104/calendar/base/content/dialogs/calendar-print-dialog.js#248

Summary: Calendar events will not print (the preview is just blank) → Calendar events will not print (the preview as well as printout is just blank)

Can't print if there's no template to print from. I think we broke this when shifting around the calendar theme files. I've moved the templates out of skin and in to content as that's more appropriate anyway.

Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attachment #9141124 - Flags: review?(paul)
Comment on attachment 9141124 [details] [diff] [review] 1626391-calendar-printing-1.diff Review of attachment 9141124 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. Sorry this was missed when the theme files got moved. Good call to put these in content.
Attachment #9141124 - Flags: review?(paul) → review+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/6c708ef50ab7
Fix calendar printing by giving templates URLs that work. r=pmorris

Status: ASSIGNED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: