Closed Bug 953768 Opened 12 years ago Closed 12 years ago

Unresponsiveness when turning on the display of offline buddies

Categories

(Instantbird Graveyard :: Contacts window, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: florian, Unassigned)

Details

*** Original post on bio 325 at 2010-01-29 23:08:00 UTC *** Displaying the whole buddy list at startup when offline buddies are displayed, or turning on the display of offline buddies is slow. From my tests, the time spent seems linear to the number of buddies. About 4 or 5ms per buddy on my Macbook with a debug build. This means the application UI is frozen for more than a second with only about 200 buddies. The problem didn't show up before as it was very unlikely to have all the accounts getting connected exactly at the same time. I tried to do some profiling, but I couldn't really figure out where we are wasting time. A lot of the time spent is in insertBefore, but as there are the XBL constructors under it, it doesn't tell much... Possible "solutions" to hide the issue would be: - disable the animation at startup, so that the buddies appear all at once and it doesn't seem slow/frozen. - when turning on the display of offline buddies, change the cursor to an hourglass/busy/"wait" cursor.
*** Original post on bio 325 at 2011-01-28 14:44:35 UTC *** This was fixed with the JS rewrite of the buddy list.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.3a1
You need to log in before you can comment on or make changes to this bug.