New calendars don't get added to calendar app (Nextcloud account)
The calendar app does not show any new calendars added to my nextcloud account after I've configured the account in "Online Services".
Steps to reproduce:
- Create a new calendar in nextcloud web with your user, add some events
- In Gnome, open Settings -> Online accounts and add your nextcloud account; enable all options
- Open the Gnome calendar app
- Observe that this calendar is shown
- Create another new calendar in nextcloud web with your user, add some events
- In Gnome calendar, hit the "Synchronize calendars" button. Observe that the new calendar is not added/shown, contrary to what is expected
- In Gnome calendar, go to "Manage Calendars". Observe that the new calendar is not shown, contrary to what is expected
- Restart the calendar app. Observe that the calendar is still not shown.
- Go to "Online Accounts", open your nextcloud settings, disable and re-enable the calendar switch
- Open the calendar app. Now the new calendar is finally shown.
As a user, I would expect the calendar to be shown once I click the synchronize button. Next I would check the Manage Calendars settings to somehow add it, but it does not appear there. There is a label that says "If the calendar belongs to on of your online accounts, you can add it through the online accounts settings", but once I go to the online accounts settings, there is no button to specifically add a new calendar. There is also no "Sync account" button, as it exists e.g. in Android to handle exaclty such cases. The only workaround that currently exist is to disbale and re-enable the calendar feature of this online account, which is not intiutive.
Proposed solution:
- Variant 1: The sync button in the calendar app should check for new calendars
- Variant 2: A new "(re)sync" button is added to each account in the "Online Accounts" settings to force a sync of all settings
As a sidenote: When using the Evolution app, there exist a "Refresh list of account calendars" button in the context menu of a calendar group, and a "Refresh" button in Evolutions own online accounts dialog, and both buttons work exactly as expected.