Closed Bug 401521 Opened 17 years ago Closed 17 years ago

Day, Week and Multiweek View changes to Month View after restart

Categories

(Calendar :: Lightning Only, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mozilla, Assigned: Fallen)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Build Identifier: Lightning 0.8pre 2007-10-28-05 / Thunderbird 2.0.0.6

 

Reproducible: Always

Steps to Reproduce:
1. In Calendar Mode, show multiweek view.
2. Restart Thunderbird.
3. Go to Calendar Mode again.
Actual Results:  
I see month view.

Expected Results:  
I should see multiweek view.
Confirmed. I can see it also for day and week view 
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Multiweek View changes to Month View after restart → Day, Week and Multiweek View changes to Month View after restart
Flags: wanted-calendar0.8?
Works with 2007102703
Fails with 2007102808
Keywords: regression
Same bug 386480 was fixed for Lt 0.7 pre
Probably regression from Bug 390508.
This patch takes care of persisting the calendar view (again), unified for sunbird and lightning.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #286555 - Flags: review?(michael.buettner)
Flags: wanted-calendar0.8?
OS: Windows XP → All
Hardware: PC → All
Comment on attachment 286555 [details] [diff] [review]
Persist Calendar View - v1

>+        var viewNode = deck.childNodes[deck.selectedIndex];
>+        var viewName = viewNode.id.replace(/-view/, "");
>+        showCalendarView(viewName);
>+    }
Probably consolidate this into something like:
          showCalendarView(
            deck.childNodes[deck.selectedIndex]
              .id.replace(/-view/, ""));

Indeed a nice unified solution, r=mickey.
Attachment #286555 - Flags: review?(michael.buettner) → review+
I don't really like formatting the line like this, I think the way I put it is more readable.

Checked in on HEAD and MOZILLA_1_8_BRANCH

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.8
verified with Lt 2007103103
Status: RESOLVED → VERIFIED
Depends on: 401739
You need to log in before you can comment on or make changes to this bug.