GNOME Bugzilla – Bug 548702
google calendar source does not show all events
Last modified: 2009-07-09 09:02:33 UTC
A User of Ubuntu reported this bug at Launchpad: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/183846 Description: The calendar shows only a couple of - old - events. 25 in total (which may be some arbitrary limit somewhere?). This happens upon loading a private calendar. I can confirm that it at least gets the calendar in part, because of the events that do show up. It might be some bug with an old non-updated calendar on Google's server, but I doubt it. All events are present in the google calendar application, and show up in the private .ics file Google provides. Calendar properties: Name: Frank Quist Username: blank (is my google account name but every time I open properties it shows up blank again. Feature or bug, don't know) Refresh: 30 minutes Use SSL (does not make difference) V Copy calendar contents locally for offline operation (does not make difference) V Mark as default folder (does not make difference) Timezone is set to Europe/Amsterdam (same as system timezone and google calendar timezone). Start day of week as monday. Changing either at the Evolution side or Google Calendar side or both (to Greenland/Scoresbysund) does not make any difference. Additionally: You can have more than one calendar at Google and only the first one is shown. For example, I have a personal one, one for business and one for traveling. After importing in evolution only the personal one is shown.
Currently evolution supports only default google calendar. You cann't see other than default one.
I can confirm that Evolution (2.24.1) shows only one-off events, recurring events do not appear in the calendar.
Patch for recurrence support has been attached in bug 508496. You can see other than default google calendar in Evolution 2.24.x.
I don't think this bug has anything to do with recurring events... I originally had about 20 events in my google calendar and I had no problems seeing them. I than added events for my training schedule for the next months, adding about 20-30 events. Now when started evolution later to look at my events some of the old events and some of the training events were not shown. I then removed some training events, cleaned the evolution cache and restarted it, then some of the old came back. Removed some more trining events, cleaned the cache and got to see some more of the old events.... So it seems that there are a limited number of events fetched from google in some random order. The number seems to be quite low, about 30 or so, making the google calendar quite limited with evolution.
I can confirm this bug (with Evolution 2.24.3) and I agree with what Mattias Eriksson said. The bug has nothing to do with recurring events. I have set up a calendar with about 60 events (none of them recurring) and only 25 of them are shown on Evolution. Furthermore which 25 are shown seems to be random (they are not the first, nor the last, etc).
Created attachment 136922 [details] [review] proposed eds hack for evolution-data-server; It seems the max-results limit for a Google calendar is 25. This patch adds a hack to default to 1024 items, even one can override it through an environment variable "EVO_GOOGLE_MAX_RESULTS". Set it to any number which fits to you the best, just not the negative or zero. The reason for this hack is the bug #583374, where is planned to use rather CalDAV than evo's google calendar backend. This hack is for a time until the change will be implemented. Note that even CalDAV has/had some issues, though most of those critical are fixed now, I believe. See the mentioned bug for more information.
Looks good as a temporary fix.
Created commit 52f6782 in eds master (2.27.4+)