Bug 444866

Summary: Changing Networks Causes Google Calendar to Unload
Product: [Frameworks and Libraries] Akonadi Reporter: Miguel Guthridge <hdsq>
Component: Google ResourceAssignee: Daniel Vrátil <dvratil>
Status: REPORTED ---    
Severity: normal CC: dvratil, kdepim-bugs
Priority: NOR    
Version First Reported In: 5.18.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Miguel Guthridge 2021-11-03 07:17:38 UTC
SUMMARY
When I unplug my laptop from it's dock, it switches from ethernet to wifi. When this change happens, KOrganizer unloads my Google calendar, meaning that I need to open the settings and manually restart the calendar. This also has a knock-on effect for the PIM events plugin, which causes an error message, and means that after I restart the Google calendar, I need to select all of my sub-calendars to display in the clock widget again.

STEPS TO REPRODUCE
1. Use a Google calendar with KOrganise
2. Switch from ethernet to wifi or visa versa
3. Observe that the calendar has unloaded

OBSERVED RESULT
The calendar unloads and needs to be restarted manually.

EXPECTED RESULT
The calendar persists across the network change (and preferably even without internet).

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I haven't tested with other calendars (eg exchange), but the issue could also potentially be present with them.