Closed
Bug 1169581
Opened 10 years ago
Closed 10 years ago
Thunderbird UI freeze with Lightning Enabled, eventually "Unresponsive Script" error with "chrome://calendar/content/calendar-month-view.xml:847"
Categories
(Calendar :: Provider: GData, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1169062
People
(Reporter: marcoben73, Unassigned)
Details
(Keywords: perf)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36
Steps to reproduce:
Just start thunderbird with Lightning enabled.
Whole thunderbird is very slow and unresponsive.
Ater some time it shows an "Unresponsive Script Error" dialog with "chrome://calendar/content/calendar-month-view.xml:847"
If a disable Lightning all is working fine.
OS: Linux 3.19.5-100.fc20.x86_64
Thunderbird: 31.7.0
Lightning: 3.3.3
Provider for Google Calendar: 1.0.4
Actual results:
The problem appeared after the upgrade to package thunderbird-31.7.0-1.fc20.x86_64 (previous package was thunderbird-31.6.0-1.fc20.x86_64).
Profiling available at http://people.mozilla.org/~bgirard/cleopatra/?1432828245222#report=dd06cbc4292c4762815cdc1c0ad429fd003feeda&selection=0,1,2,15,2,4,16,17,18,19,20,2,4,21,22,10,11,2
Comment 1•10 years ago
|
||
What calendars have you configured? Are that large ones? Does this also occur if you have Google provider disabled?
I use Lightning to manage one google calendar (which is shared with my smartphone).
I don't think that my personal calendar could be considered large ;-)
If I disable "Provider for Google Calendar" there is no problem.
Thunderbird works as usual.
I've deleted from Lightning my google calendar and restarted Thunderbird.
With "Provider for Google Calendar" enabled, but without any google calendar all is working fine.
After that test I added again my calendar and restarted Thunderbird.
Now is working normally.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•10 years ago
|
Component: General → Provider: GData
Comment 4•10 years ago
|
||
Same problem here, the solution proposed by Marco worked perfectly.
Comment 5•10 years ago
|
||
The "solution" consists of disabling the GData addon, so the issue is not solved just worked around.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WORKSFORME → ---
Updated•10 years ago
|
Keywords: perf
Summary: Thunderbird UI freeze with Lightning Enabled → Thunderbird UI freeze with Lightning Enabled, eventually "Unresponsive Script" error with "chrome://calendar/content/calendar-month-view.xml:847"
(In reply to Kent James (:rkent) from comment #5)
> The "solution" consists of disabling the GData addon, so the issue is not
> solved just worked around.
Kent, the solution for me was:
1) remove the google calendar from Lightning
2) restart Thunderbird
3) add the removed google calendar to Lightning
With "Provider for Google Calendar" enabled.
For me these steps splved the performance issues.
Comment 7•10 years ago
|
||
(In reply to Marco from comment #6)
> For me these steps splved the performance issues.
The same for me. Once I removed all Google calendars and restarted Thunderbird, I could re-add the calendars (Lightning provided a nice list I could check off calendars on) and I haven't seen the problem since. Possibly a bug related to Lightning's handling of GData calendars across an upgrade of one or the other?
Comment 8•10 years ago
|
||
By ticking the checkboxes on/off in the calendar list you do not remove the calendar but disable displaying of the same. The calendar should still be synced in background, as long the calendar is not disabled (can be set in the properties dialog of a calendar). So, I would expect that to let the observed behaviour disappear, as the reported error message is related to rendering the events to the calendar view. Effectively, this is the same as just waiting until the initial sync is completed, but without suffering from the lack of responsiveness of the UI.
To really remove the calendar, you would need to delete the subscription and create it again. As that would force an initial sync procedure once again, I would expext that to reproduce the behaviour once again instead of solving it.
Marco, did you also just untick/tick the checkbox or did you effectively remove the calendar?
Flags: needinfo?(marcoben73)
Comment 9•10 years ago
|
||
(In reply to MakeMyDay from comment #8)
> By ticking the checkboxes on/off in the calendar list you do not remove the
> calendar but disable displaying of the same.
Wrong set of checkboxes. When you go to add a new calendar, after giving it your Google account and going through authorization it gives you a list of the calendars on that account and you can just check all the ones you want to subscribe to. Saves having to enter the URLs one at a time.
I didn't just uncheck the checkbox to stop displaying the calendar, I removed (unsubscribed) all the Google calendars leaving just my local calendars. Then I restarted TB, did a New Calendar, selected on the network, selected Google Calendar, gave it my Google e-mail to start a session, selected the calendars I wanted from the list and went through to finish the process.
Aha. Enlightenment. I was repeating the process to make sure I got the steps right, and I start getting the error when I add the birthdays calendar (the one that's based off the contacts list). Having it subscribed but not displayed, I don't get the script error but Lightning becomes slow for a long time. As soon as it's displayed, I start getting the script error again when it's trying to sync. Mine isn't that huge, Lightning said 60 events to sync for it and I've other Google calendars with more events than that active, but there may be something with that specific calendar that makes it slower than others on the server end.
Comment 10•10 years ago
|
||
Thanks for checking once again, Todd. What you see is bug 1169062. In general, 60 events might not be much, but they are all recurring events, so you have likely several thousands of instances, although I don't know why the syncing depends on the instances - for rendering this is obvious.
Can you please check one of the birthday events for their recurrence rule - is this set to repeat forever? Please reply on bug 1169062 for that.
Marco, did you also have synced the Google birtday calendar? In that case we can mark this a duplicate of bug 1169062.
Comment 11•10 years ago
|
||
(In reply to MakeMyDay from comment #10)
> Can you please check one of the birthday events for their recurrence rule -
> is this set to repeat forever? Please reply on bug 1169062 for that.
Those events don't seem to have a recurrence rule that I can see anywhere. They all show as a single non-recurring event, but that can't be right. The fix from 1169062 (making the calendar contacts-only) does fix the slowness and error message though.
| Reporter | ||
Comment 12•10 years ago
|
||
(In reply to MakeMyDay from comment #10)
> Marco, did you also have synced the Google birtday calendar? In that case we
> can mark this a duplicate of bug 1169062.
Hi. I confirm that the problem appears as soon as I add the Google birthday calendar.
In my Google birthday calendar I've recurring event without end date.
Flags: needinfo?(marcoben73)
Comment 13•10 years ago
|
||
I confirm that the problem appears with the Google Birthday calendar as well. It stops after unsuscribing from this calendar.
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → DUPLICATE
Comment 15•7 years ago
|
||
Here's the detail of the specific steps of what was expressed, above, I believe, as the fix -- by Marco et al. Not being as well-versed in all things Thunderbird and Lightning (very, very frightening me!), I had to figure these out for myself...
1) Open Thunderbird.
2) Wait for it to get through the "hang" phase while it synchronizes Google calendar events (for me it took a couple minutes; I had a little over a hundred events, and it appeared to pause on a couple of them).
3) Once Thunderbird is open and behaving normally, open or go to the Lightning calendar tab.
4) Select the Google calendar of interest in the left-hand pane, in the Calendar drop-down list (select it, don't simply check or uncheck it).
5) Go to Events and Tasks/Unsubscribe Selected Calendar and click the Unsubscribe button in the resulting prompt.
6) Close Thunderbird.
7) Open Thunderbird.
8) Open or go to Thunderbird tab, if you're not already there.
9) Right-click in the left-hand pane under the Calendar drop-down list, and select New Calendar
19) In the resulting prompt, select On the Network, and click the Next button.
11) Select Google Calendar, and click the Next button.
12) Select the Google account of interest, or enter it in the open field, and click the Next button.
13) Select calendar(s) and/or task list(s) of interest, and click the Next button.
14) Click the Finish button.
15) Synchronize (if you have the Calendar Toolbar enabled, there's a button for that).
Comment 16•7 years ago
|
||
Oh, and I've found a much quicker way to pull of the fix. You can avoid the whole unsubscribe/resubscribe thing (at least it worked for me), by doing the following:
1) Open Thunderbird.
2) Wait for it to get through the "hang" phase while it synchronizes Google calendar events (for me it took a couple minutes; I had a little over a hundred events, and it appeared to pause on a couple of them).
3) Once Thunderbird is open and behaving normally, open or go to the Lightning calendar tab.
4) Select the Google calendar of interest in the left-hand pane, in the Calendar drop-down list (select it, don't simply check or uncheck it).
5) Click on the three horizontal bars in the upper-right and go to Events and Tasks/Calendar Properties.
6) Uncheck "Switch this calendar on", and click OK.
7) Close Thunderbird.
8) Open Thunderbird.
9) Open or go to the Thunderbird tab, if you're not already there.
10) If it's not already selected, select the Google calendar of interest in the left-hand pane, in the Calendar drop-down list (select it, don't simply check or uncheck it).
10) Click on the three horizontal bars in the upper-right and go to Events and Tasks/Calendar Properties.
11) Check "Switch this calendar on", and click OK.
12) Synchronize (if you have the Calendar Toolbar enabled, there's a button for that).
The real advantage is not having to wait nearly as long for the synchronization process, as well as avoiding all the steps needed to resubscribe.
You need to log in
before you can comment on or make changes to this bug.
Description
•