Closed Bug 2039652 Opened 6 months ago Closed 6 months ago

Calendar gets stuck, toggling between two calendars that it thinks are the default

Categories

(Calendar :: General, defect)

defect

Tracking

(thunderbird151 affected, thunderbird152 affected)

RESOLVED FIXED
152 Branch
Tracking Status
thunderbird151 --- affected
thunderbird152 --- affected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

I'm not sure if this is a bug in the front end or if the calendar manager is doing something very odd. On opening Thunderbird, the list of calendars in the left sidebar flickers, the selection moves back and forth between two calendars. This seems to be coming from the manager setting the default calendar over and over. But it could be the UI asking the manager to do this. Or both of these things having a fight.

As a workaround, opening prefs.js and removing the pref with a name ending calendar-main-default seems to help.

I think I can reproduce this reliably. It seems to happen every session after I set the default calendar.

Might be related to bug 2033796, as I saw this prior to crashing there at least for some of the crashes

See Also: → 2033796
Keywords: regression
Regressed by: 2031264
See Also: 2033796 →

This broke the UI by causing a race condition with the code that loads the calendar list in calendar-management.js.

Assignee: nobody → geoff
Status: NEW → ASSIGNED

Comment on attachment 9586475 [details]
Bug 2039652 - Back out changeset dab18c5a3df2 (bug 2031264) for breaking the calendar UI. r=#thunderbird-reviewers

Uplift Approval Request

  • Please state case for uplift consideration and ensure bug severity is set: When this happens (after changing the calendar and restarting) no calendar items appear, the calendar list flickers, and CPU usage climbs to 100%.
  • User impact if declined: Thunderbird is fairly unusable in this state.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Daily?: No
  • Has the fix been verified in Beta?: Yes
  • Needs manual test from QA?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This reverts the code back to how it was a month ago.
  • Does the fix cause any migrations to be skipped?: Yes
  • String changes made/needed:
Attachment #9586475 - Flags: approval-comm-release?
Target Milestone: --- → 152 Branch

Comment on attachment 9586475 [details]
Bug 2039652 - Back out changeset dab18c5a3df2 (bug 2031264) for breaking the calendar UI. r=#thunderbird-reviewers

[Triage Comment]
Approved for Release

Attachment #9586475 - Flags: approval-comm-release? → approval-comm-release+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/217bff357bbf
Back out changeset dab18c5a3df2 (bug 2031264) for breaking the calendar UI. r=vineet

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: