Please Test: Print Support in Lightning 1.7b3

Hello Folks, I have a favor to ask.

Update 3: Lightning 1.7b2 contained an error related to printing that has been fixed in 1.7b3, which I have uploaded on 2012-07-29. Please update before testing!

Among some other things, print support has been broken in the nightly builds since about May, when Mozilla did some changes in the XPConnect layer. The effect of these changes were that we can no longer use e4x, a standard to make use of XML directly in Javascript. I have taken care of most of the fixes, but the one bug that has been outstanding a bit longer was the one to fix print support.

I took the chance to revamp the internals of the print layouts to make it easier to extend them. This opens up more possibilities to extend print support in an extension. The problem is now that we needed to land this directly on the beta channel so that print support is not broken in the 1.7 release.

I have just uploaded a new beta containing the patch, so please take a moment to test it with the Thunderbird 15 beta. These areas need testing:

  • All print layouts: List View, Monthly Grid, Weekly Planner
  • All combinations of options, i.e tasks and events, only tasks, only events
  • Make sure the (time) labels on the events in the print preview is correct
  • Different kinds of tasks (with start date, with end date, with both)
  • All importers and exporters (ICS export, HTML export, …)

For testing you will need Thunderbird 15 beta and Lightning 1.7b2. For Lightning, you will get automatic updates if you are currently using Lightning 1.7b1 or 1.7b2 If you haven’t downloaded a Lightning beta yet, be sure to open the Developer Channel box at the bottom of the page.

Update: You will also need a new copy of the Provider for Google Calendar, if you are using it. Get it here.

Update 2: Lighting 1.7b2 contains an error related to printing that will not show the print view.

 

20 comments

  1. [...] wurde Lightning 1.7b3 vom Mozilla Kalenderprojekt zum Testen freigegeben. Ein paar Hinweise zum Prüfen der u.a. in deutscher Sprache vorliegenden Pakete kann man auch in [...]

  2. Oleksa Stasevych

    Ukrainian localisation missing – there’s no either lightning-uk, or calendar-uk in the package :(

    • Philipp Kewisch

      Possibly the uk locale wasn’t in time for the deadlines. I hope to see them again for the next release.

  3. On the French version when I print the monthly grid I have two problems.
    – The text “Toute la journée” (All the day) is displayed twice.
    – If I put an event on several days alone on the first day is displayed in preview

    • Philipp Kewisch

      Could you check if the “Allday” text is also displayed twice in the English version? If not, this is a localization bug.

  4. This is a little off topic but I don’t know where to post a bug. I updated Thunderbird to v 15 and updated Lightning to 1.7 and now my tasks from my caldav calendars do not show up! This is really bad :-(

    • Philipp Kewisch

      Do you get any error console messages? If nothing interesting is there, please enable calendar.debug.log and calendar.debug.log.verbose in the advanced config editor (Options > General > Advanced > Config Editor) and restart. You should get some caldav logging that might help.

      Aside from that, is it the same for task view and the task list in the today pane?

  5. Updated to Thunderbird 15 and Lightning 1.7 when previewing & printing shows “All day – All day” or “11.00am – 11.00am” hope this can be fixed?

  6. Thunderbird v16.0, Lightning 1.8b1, Java current version.
    Lightning calendar prints out blank page.
    Error console shows about 7 different errors. Working from the bottom up, they include, but not limited to, the following:
    Timestamp: 9/04/12 12:55:34
    Error: Calendar print dialog:refreshHtml: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://calendar/modules/calXMLUtils.jsm :: :: line 140" data: no]
    Source File: chrome://calendar/content/calendar-print-dialog.js
    Line: 224

    Timestamp: 9/04/12 12:55:34
    Warning: Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead.
    Source File: resource://calendar/modules/calXMLUtils.jsm
    Line: 32

    Timestamp: 9/04/12 12:55:32
    Error: Calendar print dialog:refreshHtml: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://calendar/modules/calXMLUtils.jsm :: :: line 140" data: no]
    Source File: chrome://calendar/content/calendar-print-dialog.js
    Line: 224

  7. An update from the previous post.
    Thunderbird v16.0, Lightning 1.8b1,Version 7 Update 7
    Emails print fine, Lightning calendar prints out blank page(s). Calendar printed out fine at the beginning of August.
    Rebooted laptop, cleared error logs, attempted calendar print. The error console reported the following:

    Timestamp: 9/04/12 18:31:36
    Warning: Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead.
    Source File: resource://calendar/modules/calXMLUtils.jsm
    Line: 32

    Timestamp: 9/04/12 18:31:36
    Warning: Use of attributes’ ownerDocument attribute is deprecated.
    Source File: resource://calendar/modules/calXMLUtils.jsm
    Line: 32

    Timestamp: 9/04/12 18:31:36
    Error: Calendar print dialog:refreshHtml: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://calendar/modules/calXMLUtils.jsm :: :: line 140" data: no]
    Source File: chrome://calendar/content/calendar-print-dialog.js
    Line: 224

    Timestamp: 9/04/12 18:31:41
    Warning: Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead.
    Source File: resource://calendar/modules/calXMLUtils.jsm
    Line: 32

    Timestamp: 9/04/12 18:31:41
    Warning: Use of attributes’ ownerDocument attribute is deprecated.
    Source File: resource://calendar/modules/calXMLUtils.jsm
    Line: 32

    Timestamp: 9/04/12 18:31:41
    Error: Calendar print dialog:refreshHtml: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://calendar/modules/calXMLUtils.jsm :: :: line 140" data: no]
    Source File: chrome://calendar/content/calendar-print-dialog.js
    Line: 224

  8. A second update from the previous postings.
    Downgraded Thunderbird to v15.0, and Lightning to 1.7b1
    Same Java version.
    Calendar now prints out fine.
    Error log now shows the following two errors, repeated 4 times each.

    Timestamp: 9/05/12 00:21:08
    Warning: Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead.
    Source File: resource://calendar/modules/calXMLUtils.jsm
    Line: 32

    Timestamp: 9/05/12 00:21:08
    Warning: Use of attributes’ ownerDocument attribute is deprecated.
    Source File: resource://calendar/modules/calXMLUtils.jsm
    Line: 32

    • I haven’t had time to check this, but could you search for and file a bug? bugzilla.mozilla.org product calendar component printing.

  9. After upgrading to Thunderbird 15.0, Lightning 1.7, and Provider for Google Calendar .16, the birthdays for my contacts in google no longer appear on my Lightning calendar. I have deleted and re-created the calendar but this did not help.

  10. Thank you for this very useful add-in! I use TB 1.5 and Lightning 1.7 on Ubuntu. I would love to print the Week tab exactly as it appears on the screen on an 8.5×11 sheet. The Weekly Planner layout is very unappealing to me because it does not let me see the empty time slots where I need to pencil in additional meetings during the day that I can then feed into the computer when I am back at my desk. The layout of the Week view would be just perfect for that. Is it possible to print it as-is?

  11. Shaun Muldowney

    Anyone know how to restore a deleted calender? I have inadvertently deleted my main calender during a recent update and reconfiguration.

    • Philipp Kewisch

      Sorry, I think if you actually selected “delete calendar” and confirmed the prompt, then the calendar is gone. You could check and see if you can salvage anything from the local.sqlite file, which is an SQLite database, but don’t put your hopes up.

  12. Hi Phillip, thanks for developing Lightning. I have a request for a small change. I am using Lightning 1.9.1, Thunderbird 17.0.6. At present if I edit a recurring event, say making it fortnightly instead of weekly, the change occurs from this point forwards, which is what is required. However, if I delete a recurring event, I am only offered the choice of deleting either just the current instance of the event, or all instances, including those in the past. What I usually want to do is delete all future instances of the event but retain today and all instances in the past. I know I can edit the recurrence range to get what I want, but is it possible to add this functionality to the Delete pop-up?

    And if this is the wrong place to post this request, my apologies, I couldn’t find a more suitable place.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>