Closed Bug 281554 Opened 20 years ago Closed 19 years ago

Once I get more than 10 calenders (over webdav) Sunbird dies - will not function at all

Categories

(Calendar :: General, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jhansen, Assigned: mostafah)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

.2 release
I have been running sunbird for some time w/ about 8 or 9 calendars on the same
webdav enabled system.  I recently added 2 more calendars (understand that none
of these calendars have more than 100 events - and most only contain < 50). 
After adding the 2 calendars everything seemed fine until I killed the app and
reopened it.  It attempted to auto refresh my calendar and just hangs.  The
entire app is gray and not responsive to anything.

If I skip the auto refresh I can see the calendars fine off of my local machine
- I then tried to uncheck some to the calendars (not sure if that excludes them
from the the global refresh) and had a similar problem, except some of the
calenders just disappeard off the list on the left -- think this is more of just
the whole program becoming unresponsive however.

Reproducible: Always

Steps to Reproduce:
1. Add 10+ calendars w/ multiple events
2. Exit Program
3. Relaunch program and refresh calendars

Actual Results:  
Same as stated above.

Expected Results:  
refreshed my calendars.
I have encountered this as well.  Here's what I found out about it:

With 11 calendars they won't display in the calendar window without scrolling. 
For some reason this seems to be the problem.  It's acting as if it goes
non-responsive when it tries displaying the Refresh icon on a non-visible line.

To get around the problem, disable Auto-Reload and save.  When you open Sunbird
click over to the Calendar listing and open the window so you can see all of the
calendars.  Then right-click and choose Reload.  It should refresh them no problem.

If you don't open the window far enough, you'll get the problem that you
described.  Unfortunately Sunbird does not yet remember window positions when it
closes, so you have to do this every time you reopen the app.
*** Bug 286102 has been marked as a duplicate of this bug. ***
*** Bug 302842 has been marked as a duplicate of this bug. ***
Additional informations from bug 02842 (duplicate) which aren't listed in this 
bug:

This problem ONLY occurs with increased font-size in windows-properties; with 
the default font-size 8pt in windows, everything works fine (I have more than 20 
remote calendars, no problems.).

It's not important, if you have any events in the calendars (it crashes with no 
events and also with 3000) or the remote calendar type (it crashes with webdav 
and also with local files [file://]).

With this informations, this problem is reproducable ALWAYS.

Best regards
Juerg
My guess: The reload function tries to add a 'throbber' to the calendar tree
items. But for a tree, invisible items don't exist, so adding the throbber
fails, and sunbird fails to handle that.
But on trunk, the tree is a list, which doesn't have that problem. Also, there
is no throbber. I guess this problem doesn't exists on trunk. Can somebody test it?
(In reply to comment #5)
> I guess this problem doesn't exists on trunk. Can somebody test it?

From bug 302842:
"I now tested the nightly build from yesterday: the problems seems to 
be solved there."

Closing bug.  If anyone can reproduce on a trunk build, you may re-open this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
The bugspam monkeys have been set free and are feeding on Calendar :: General. Be afraid for your sanity!
QA Contact: gurganbl → general
You need to log in before you can comment on or make changes to this bug.