plasma-applets
plasma-applets copied to clipboard
[EventCalendar] google calendar data will be abandoned when run kde on a no network environment
I think it's better to keep old Google calendar data until next sync successfully. I found that when I boot my KDE without network, all the old sync data of google calendar is abandoned. Sometimes we may have no network but we also need the old google calendar data.
This requires serializing the event data. I already serialize/cache the calendar list to the config file, but I want to move away from that bad practice. I know the RSS widget stores data to LocalStorage via SQLite. I'm not too keen on raw SQL/that much code just for this feature though.
- https://github.com/cute-jumper/plasma-rss-indicator/blob/c8e0f46be8d65aa7129aa75e47779f2d09179647/plasmoid/contents/ui/FullRepresentation.qml#L123
Tbh it's probably easier to support KDE calendar plugins like KDE PIM (which I assume caches the events like you desire).