GNOME Bugzilla – Bug 683736
[regression] calendar work week view drops Monday's entries
Last modified: 2013-09-13 01:08:50 UTC
I'm running the git master of evo and friends on a gnome 3.5.91/slackware box. I have my preferences set so that my week starts on Sunday and have Mon--Fri as working days. The calendar displays as expected in single day view. However, in work-week view, Monday's entries are missing (they appear in single day-mode). These entries come from a mix of local and non-local calendars and two of them are from recurring appointments. [ I thought that I'd reported something similar a while ago relating to the initial display of the work week, but can't seem to find it, and in any event, this seems different].
Thanks for a bug report. I can reproduce it too, thus confirming. There is a critical warning on console when switching to the Work Week mode, which is certainly causing this: > calendar-gui-CRITICAL **: e_day_view_add_event: assertion `start < > add_event_data->day_view->upper' failed
Hrm, I caused this with my change to bug #681669.
Created attachment 224001 [details] [review] evo patch for evolution; There were needed more places to be fixed, and I missed an inconsistency between week_day_start and EDayView::working_days. The former uses 0 Mon to 6 Sun, while the later uses 0 Sun to 6 Sat numbering, which makes things confusing. After this refix both bugs are working as expected.
Created commit ca8610a in evo master (3.5.92+)
Thanks Milan. When I 1st restarted evolution, the fix hadn't taken--worse the entire work week calendar was empty. I think that's because an old evolution-calendar-factory was running. I restarted and things work as expected.
Hmm, strange, as the fix was only for evolution, not for evolution-data-server, thus it might be something else. Maybe if you rebuilt also eds, then it made the factory confused.