Closed Bug 1856509 Opened 3 years ago Closed 3 years ago

Start-up performance regression caused by Find Events pane

Categories

(Calendar :: Calendar Frontend, defect)

Thunderbird 120
defect

Tracking

(thunderbird_esr115 unaffected, thunderbird119 affected)

RESOLVED FIXED
120 Branch
Tracking Status
thunderbird_esr115 --- unaffected
thunderbird119 --- affected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: perf:startup, regression, Whiteboard: [regression: 119.0b3])

Attachments

(1 external file)

Nicolas reports his start-up has slowed to a crawl. We created a performance profile and traced it back to the Find Events panel changes. I'm trying to reproduce it to see if can figure out what's wrong.

This happens even if the Calendar tab is closed, which should mean the Find Events panel does nothing.

The Find Events tree view is activated at start-up whether it is open or not, and without a start and end date set.
This causes it to load all events in the calendar, which can take a long time, for no reason.

I've prevented the problem in two ways:

  • Only activate the view when the Calendar tab is in the foreground and the Find Events panel is opened.
    Deactivate it again if the panel is closed.
  • Stop the calendar view mixin from reading from calendars without all of the item type, start date, and end date set.
    ISTR this was the original intention but it got lost somewhere along the way.
Version: unspecified → Thunderbird 120
Duplicate of this bug: 1857376
Duplicate of this bug: 1857375
Keywords: perf:startup
Whiteboard: [regression: 119.0b3]
Target Milestone: --- → 120 Branch

Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/a4cb31609e2d
Prevent the Find Events pane loading all events at start-up. r=leftmostcat

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Duplicate of this bug: 1855833
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: