GNOME Bugzilla – Bug 257320
week view not persistent
Last modified: 2013-09-13 00:51:56 UTC
Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: The week view is not persistent. If you set the view to week view, then select another date in the date navigator, it resets to day view. Steps to reproduce the problem: 1. Select 'week' view button in the toolbar 2. Select any date in the date navigator Actual Results: Requested day is displayed. Expected Results: Requested week should be displayed. How often does this happen? Always. Additional Information: Workaround is to show week numbers, and click on the week numbers instead of the desired date.
somehow related to bug 243938.
still the same behaviour in evolution1.5-1.5.9.0.200406211628-0.snap. ximian.8.1.
still valid in evolution-2.1.3.2.0.200501160930-0.snap.ximian.10.1.
this is because of the following code in gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): if (new_days_shown > 9) { priv->range_selected = TRUE; e_week_view_set_weeks_shown (E_WEEK_VIEW (priv->month_view), (new_days_shown + 6) / 7); view_type = GNOME_CAL_MONTH_VIEW; } else if (new_days_shown == 7 && starts_on_week_start_day) { view_type = GNOME_CAL_WEEK_VIEW; } else { e_day_view_set_days_shown (E_DAY_VIEW (priv->day_view), new_days_shown); if (new_days_shown == 5 && starts_on_week_start_day && priv->current_view_type == GNOME_CAL_WORK_WEEK_VIEW) view_type = GNOME_CAL_WORK_WEEK_VIEW; else view_type = GNOME_CAL_DAY_VIEW; } If we comment this portion it will remain in the same view. Actually the view is changed tentatively to give more importance on the selected days. I think its not a bug. Moving to NEEDINFO.
Well its my personal opinion that it should stay in the view you put it in as when I'm browsing around my calendar I like to see the week, all the information on that day is available so your not exactly missing out, and really I just want it in the mode I asked it to be in and it shouldn't change it on me. What do other people think?
Makes sense. Reopening the bug.
i'd like to force a decision on this, targetting to 2.7. srini, any comments? the code that has to be outcommented is attached to this bug.
I'd say leave the behaviour as is. 1. I appear to be the only one complaining 2. I'm more than happy with the workaround, which is to click on the week number to bring up the week view for that week. 3. Apparently the behaviour is compatible with MS Outlook, and would potentially confuse new users coming from there. 4. The behaviour is perfectly consistent once you understand what it does. Really my problem before was that I didn't know about clicking on the week number to bring up the week view.
Okay - let us look at it this way - The Date navigator sets the view to whatever is selected on it and hence, offers wider choices than a day/week view. Just select 3 consecutive days or any arbitrary length of days across months - watch how the view changes. I hope this surfaces the value of the current behavior. As Duncan observes above, just click on the week number (for random access to a week) or use the Prev/Next button which is what might be wanted most of the times. Resolving this as not a bug. Thanks Duncan