Closed Bug 992669 Opened 11 years ago Closed 10 years ago

Navigation bar's label "Current Week" (CW CWs) sometimes is set with a wrong week number

Categories

(Calendar :: Calendar Frontend, defect)

Lightning 3.3
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bv1578, Assigned: bv1578)

Details

Attachments

(1 file)

Steps to reproduce:

- switch to week-view then to month-view;
- from the month-view open the Options dialog (menu Tools) and in the Views tab change
  the "Day start" or "Day end" settings;

--> in the navigation bar the indication of the Current Weeks (CWs) changes, now is showed a single week (CW) instead of the group of weeks of the current month.
The week number showed is that one which should be showed when week-view is selected.
Attached patch Patch - v1 β€” β€” Splinter Review
Bug occurs also when changing a setting that affects month/multiweek view (e.g. "number of weeks to show" or "Previous week to show") while the day/week view is displayed.
 
When changing preferences, the sequence of calls for the refresh starts form the method "handlePreference" even for views that are not currently displayed. The sequence includes the method "setDateRange()" that updates the navigation bar with data that are not related to the visible view.
Assignee: nobody → bv1578
Status: NEW → ASSIGNED
Attachment #8485546 - Flags: review?(philipp)
Attachment #8485546 - Flags: review?(philipp) → review+
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/46c48116abd0
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 3.8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: