Cached events can be slow to show up on cold startup, particularly when offline (10 to 15 seconds delay)
Affected version
- Ubuntu 23.04
- gnome-calendar 44.0 from Ubuntu repos
Bug summary
Steps to reproduce
- Open gnome-calendar
- Wait for events to appear
- Close gnome-calendar
- Wait ~10 minutes
- Open gnome-calendar
What happened
Calendar is empty. No events visible. Need to wait for calendars to sync again
What did you expect to happen
Calendar show previously loaded events
Relevant logs, screenshots, screencasts etc.
$ gnome-calendar --debug
11:20:16.377119 GLib-GIO: DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
11:20:16.497002 Adwaita: DEBUG: Using style /org/gnome/Adwaita/styles/defaults-light-yaru-default.css
11:20:16.647862 GcalWeatherService: DEBUG: Starting weather service
11:20:16.717707 GcalCalendarManagementPage: DEBUG: Activating GcalCalendarsPage
11:20:16.724290 GcalWindow: DEBUG: Updating active date to 22.05.23 11:20:16 +0300
11:20:16.725057 GcalTimeline: DEBUG: Adding subscriber GcalWeekView to timeline 0x5569013cce00
11:20:16.725166 GcalTimeline: DEBUG: Adding subscriber GcalMonthView to timeline 0x5569013cce00
11:20:16.725223 GcalTimeline: DEBUG: Adding subscriber GcalAgendaView to timeline 0x5569013cce00
11:20:16.725320 GcalTimeline: DEBUG: Adding subscriber GcalDateChooser to timeline 0x5569013cce00
11:20:16.912328 GcalWindow: DEBUG: Updating active date to 22.05.23 11:20:16 +0300
11:20:16.916719 GcalManager: DEBUG: Source Contacts (4a290da1ea3575190dd4ebd252b2cfb5c4edd306) connected
11:20:16.917172 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (4a290da1ea3575190dd4ebd252b2cfb5c4edd306)
11:20:16.917338 GcalCalendarButton: DEBUG: Scheduling synchronization icon update
11:20:16.917886 GcalSearchEngine: DEBUG: Adding calendar 4a290da1ea3575190dd4ebd252b2cfb5c4edd306 to search results
11:20:16.922575 GcalManager: DEBUG: Source ***@*** (527424d012da199414e8961103a5bd2cc79e8316) connected
11:20:16.922774 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (527424d012da199414e8961103a5bd2cc79e8316)
11:20:16.924607 GcalSearchEngine: DEBUG: Adding calendar 527424d012da199414e8961103a5bd2cc79e8316 to search results
11:20:16.927891 GcalCalendarMonitor: DEBUG: Starting ECalClientView for calendar 'Contacts'
11:20:16.931881 GcalManager: DEBUG: Source Birthdays & Anniversaries (birthdays) connected
11:20:16.932057 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (birthdays)
11:20:16.932515 GcalSearchEngine: DEBUG: Adding calendar birthdays to search results
11:20:16.933950 GcalCalendarMonitor: DEBUG: Starting ECalClientView for calendar '***@***'
11:20:16.937255 GcalManager: DEBUG: Source ***@*** (87ccbfe24facae8f4085cf5d349d00f667abe504) connected
11:20:16.937556 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (87ccbfe24facae8f4085cf5d349d00f667abe504)
11:20:16.938258 GcalCalendarMonitor: DEBUG: Starting ECalClientView for calendar 'Birthdays & Anniversaries'
11:20:16.938485 GcalSearchEngine: DEBUG: Adding calendar 87ccbfe24facae8f4085cf5d349d00f667abe504 to search results
11:20:16.944651 GcalManager: DEBUG: Source Contacts (b4d81c539eef6fbd783511f784e4e294411723ab) connected
11:20:16.944875 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (b4d81c539eef6fbd783511f784e4e294411723ab)
11:20:16.945543 GcalSearchEngine: DEBUG: Adding calendar b4d81c539eef6fbd783511f784e4e294411723ab to search results
11:20:16.952828 GcalManager: DEBUG: Source Holidays in Ukraine (82cf1f559db0f1ed115cdab20ca7f8344551cea5) connected
11:20:16.953186 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (82cf1f559db0f1ed115cdab20ca7f8344551cea5)
11:20:16.954029 GcalSearchEngine: DEBUG: Adding calendar 82cf1f559db0f1ed115cdab20ca7f8344551cea5 to search results
11:20:16.954506 GcalCalendarMonitor: DEBUG: Starting ECalClientView for calendar '***@***'
11:20:16.959324 GcalCalendarMonitor: DEBUG: Starting ECalClientView for calendar 'Contacts'
11:20:16.960612 GcalManager: DEBUG: Source Holidays in Ukraine (8f7ccca0c7787863e281b64f6cc98e64af4d32ab) connected
11:20:16.960824 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (8f7ccca0c7787863e281b64f6cc98e64af4d32ab)
11:20:16.961198 GcalCalendarMonitor: DEBUG: Finished initial loading of calendar 'Birthdays & Anniversaries'
11:20:16.961374 GcalSearchEngine: DEBUG: Adding calendar 8f7ccca0c7787863e281b64f6cc98e64af4d32ab to search results
11:20:16.967557 GcalManager: DEBUG: Source Contacts (2a37e532cafde7102b9d399ffda3248bab0b145a) connected
11:20:16.967724 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (2a37e532cafde7102b9d399ffda3248bab0b145a)
11:20:16.968746 GcalSearchEngine: DEBUG: Adding calendar 2a37e532cafde7102b9d399ffda3248bab0b145a to search results
11:20:16.972441 GcalCalendarMonitor: DEBUG: Starting ECalClientView for calendar 'Contacts'
11:20:16.973949 GcalManager: DEBUG: Source ***@*** (c72c230b2c4971c0279d5e402f64a74f87082c50) connected
11:20:16.974175 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (c72c230b2c4971c0279d5e402f64a74f87082c50)
11:20:16.976402 GcalSearchEngine: DEBUG: Adding calendar c72c230b2c4971c0279d5e402f64a74f87082c50 to search results
11:20:16.981208 GcalCalendarMonitor: DEBUG: Starting ECalClientView for calendar '***@***'
11:20:16.985843 GcalManager: DEBUG: Source Holidays in Ukraine (a689db99e4b57a53468cf8d95fd87e39875a8755) connected
11:20:16.986168 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (a689db99e4b57a53468cf8d95fd87e39875a8755)
11:20:16.986576 GcalSearchEngine: DEBUG: Adding calendar a689db99e4b57a53468cf8d95fd87e39875a8755 to search results
11:20:16.994058 GcalManager: DEBUG: Source Personal (system-calendar) connected
11:20:16.994235 GcalCalendarMonitor: DEBUG: Spawning thread GcalCalendarMonitor (system-calendar)
11:20:16.995135 GcalSearchEngine: DEBUG: Adding calendar system-calendar to search results
11:20:16.999999 GcalManager: DEBUG: Client of source: 4a290da1ea3575190dd4ebd252b2cfb5c4edd306 refreshed succesfully
11:20:17.0037 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0063 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0081 GcalManager: DEBUG: Client of source: 527424d012da199414e8961103a5bd2cc79e8316 refreshed succesfully
11:20:17.0098 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0117 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0137 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0153 GcalManager: DEBUG: Client of source: 87ccbfe24facae8f4085cf5d349d00f667abe504 refreshed succesfully
11:20:17.0172 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0196 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0387 GcalManager: DEBUG: Client of source: b4d81c539eef6fbd783511f784e4e294411723ab refreshed succesfully
11:20:17.0526 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0663 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0790 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.0919 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.1043 GcalManager: DEBUG: Client of source: 2a37e532cafde7102b9d399ffda3248bab0b145a refreshed succesfully
11:20:17.1175 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.1303 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.1429 GcalManager: DEBUG: Client of source: c72c230b2c4971c0279d5e402f64a74f87082c50 refreshed succesfully
11:20:17.1550 GcalCalendarButton: DEBUG: Switching to success icon
11:20:17.1705 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.1835 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.1957 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.2092 GLib-GIO: DEBUG: GTask g_io_scheduler_push_job (source object: (nil), source tag: 0x7f4b0fe8ca70) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
11:20:17.104010 GcalClock: DEBUG: Successfully acquired logind DBus proxy
11:20:17.221957 GcalWeatherService: WARNING: Could not create GCLueSimple: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 1000
11:20:19.2557 GcalCalendarButton: DEBUG: Updating calendar icon to spinner
Additional info
- Bug is reproducible only if wait ~10 minutes between app closing and opening. I think there is a cache cleaner working here that is configured with the wrong timer
- Events in the gnome drop-down menu (under clock) is valid and visible all the time