Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

setting the default calendar event in thunderbird v. 60.8.0 to be an all day event

  • 7 replies
  • 1 has this problem
  • Last reply by Dolphyn

more options

how can i set the default calendar event in thunderbird v. 60.8.0 to be an all day event?

All Replies (7)

more options

For Day or Week view, you can double-click at the top of the calendar:

It's a bit more complicated for multiweek or Month view:

more options

thanks again sfhowes yes it’s the monthly calendar I want to change the default for i saw the post you referenced but the technical aspects are beyond my comprehension:

here’s the post:

You would need to hack the extension to change the double click behavior in the multiweek and month views.

  • edit extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\chrome\calendar\content\calendar\calendar-month-view.xml
  • restart application

CODE: SELECT ALL - this.calendarView.controller.createNewEvent(); + this.calendarView.controller.createNewEvent(null, this.mDate, null, true);

That hack enables the "All day Event" checkbox in the New Event dialog when double clicking a day box in the multiweek and month views, similarly to the default behavior when double clicking an all day box in the day and week views.

How do I hack the extension to replace the this.calendarView code? Where do I run this command? Can you walk a novice through this?

more options

1. Select Help/Troubleshooting Information, click Open Folder to open the profile folder in File Explorer. Close TB. 2. In the extensions subfolder, copy the file {e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi to another folder, e.g. Documents. Rename the one that is in extensions to {e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi.BAK 3. In Documents, change the extension from xpi to zip. Open the zip and navigate to the chrome\calendar\content\calendar folder. Extract calendar-month-view.xml from the zip file. 4. Open the xml file in a text editor and go to line 328. Replace this.calendarView.controller.createNewEvent(); with this.calendarView.controller.createNewEvent(null, this.mDate, null, true); 5. The original instructions say to then repack the xml file and copy the modified xpi into extensions, but this is not sufficient. 6. Taking a clue from this page, I deleted line 327 with event.stopPropagation(); 7. Save the modified xml and add it back to the zip file in the same location. 8. Change the extension from zip to xpi and copy the xpi into extensions.

Upon restarting TB, double-clicking a day in Multiweek or Month view will open a new event with the All Day Event box checked. Tested and working in TB 60.8/Lightning 6.2.8 (see picture). You will have to modify the file whenever Lightning is updated.

more options

holy toledo - that’s what I call tech support!

Thx for that sfhowes – for some reason tbird would not recognize my altered extension for lightning – I may have buggered it up somewhere along the way – so I restored the original .BAK 3 version and calendar is back to normal – I shall simply check the all day event box myself in future

I have to say after suffering though windows live mail long past its expiry date its such a pleasure to use thunderbird – and the support network is phenomenal – I’ve made a donation to thunderbird support and will continue to do so annually

Thx again

more options

Has anyone got this to work in Thunderbird 68.3.1? It didn't work for me. Lightning is recognized and I can add events as usual, but they don't default to all-day events.

I tried both with and without the event.stopPropagation() line.

(To edit the .xml file directly within the Zip, I used 7-Zip software, configured with EditPlus as the editor, because Notepad didn't show the line breaks properly.)

more options

I just applied the changes above in TB 68.3.1 32-bit/Lightning on W10, and it worked as before. The line numbers have shifted a bit, but the relevant code is the same.

more options

Thanks, I've got it working now. I had failed to find the "profile folder" so I was previously modifying the wrong copy of the xpi file.