Closed Bug 1918010 Opened 28 days ago Closed 26 days ago

Changing the first day of the week doesn't always update the views properly

Categories

(Calendar :: Calendar Frontend, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
132 Branch

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Bug 1660692 changed the week info service to use a lazy preference getter on calendar.week.start to avoid looking it up every time. But if a change to the preferences causes a different observer (e.g. the one on the calendar views) to ask the service what the start of the week is, it might give the old answer. This is because preferences observers can be fired in any order.

I'm going to go back to looking up the answer every time, as it doesn't get called too often.

Oh great, the week view doesn't update at all when the first day of the week is set.

Target Milestone: --- → 132 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/39c81744e6a5
Fix updating the calendar views when the first day of the week pref changes. r=mkmelin

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

Attachment

General

Created:
Updated:
Size: