After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548702 - google calendar source does not show all events
google calendar source does not show all events
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
evolution[google]
Depends on:
Blocks:
 
 
Reported: 2008-08-20 16:58 UTC by Andreas Moog
Modified: 2009-07-09 09:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
proposed eds hack (1.72 KB, patch)
2009-06-18 14:18 UTC, Milan Crha
committed Details | Review

Description Andreas Moog 2008-08-20 16:58:35 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.
Comment 1 Akhil Laddha 2008-08-21 04:26:54 UTC
Currently evolution supports only default google calendar. You cann't see other than default one.
Comment 2 Konrad Paumann 2008-11-02 23:19:11 UTC
I can confirm that Evolution (2.24.1) shows only one-off events, recurring events do not appear in the calendar.
Comment 3 Akhil Laddha 2008-11-03 03:43:18 UTC
Patch for recurrence support has been attached in bug 508496. You can see other than default google calendar in Evolution 2.24.x.
Comment 4 Mattias Eriksson 2009-02-23 14:34:48 UTC
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.
Comment 5 Federico Cerisola 2009-02-25 11:58:44 UTC
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).
Comment 6 Milan Crha 2009-06-18 14:18:25 UTC
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.
Comment 7 Chenthill P 2009-07-08 18:50:10 UTC
Looks good as a temporary fix.
Comment 8 Milan Crha 2009-07-09 09:02:33 UTC
Created commit 52f6782 in eds master (2.27.4+)