elementary / tasks

Synced tasks and reminders on elementary OS

Home Page:https://elementary.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newly added task lists are not shown

marbetschar opened this issue · comments

What Happened

When I'm adding a new task list it does not show up in the Tasks app. Even though it is succesfully added to the Nextcloud backend via CalDAV. Also closing/reopening the Tasks app does not have any effect. Even forcing sync in Evolution does not make any difference.

The only thing that does work is to remove the whole CalDAV accounts from System Settings and re-adding it as a new one. Only then the new list appears.

Expected Behavior

Adding and removing lists should be possible through the Tasks app without the need of re-adding the account through Online Accounts.

This used to work, so I'm wondering if we are dealing with a regression of some sort caused by either Online Accounts or the Flatpack packaging.

Platform Information

elementary OS 6 stable.

Spend some time debugging this and from my tests I found that there seems to be an issue with how the account is setup:

When I'm configuring the CalDAV account through Online Accounts in System Settings, then the newly added task list never appears in Tasks.

However, when I'm configuring the CalDAV account through Evolution installed from a deb package, adding a new task list works (even though its terribly slow - but that's probably another issue).

Collection source properties when added through Online Accounts:

collection_extension.allow_sources_rename = NO
collection_extension.calendar_enabled = YES
collection_extension.calendar_url = (null)
collection_extension.contacts_enabled = YES
collection_extension.contacts_url = (null)
collection_extension.identity = my-username
collection_extension.mail_enabled = YES

Collection source properties when the account was added through Evolution:

collection_extension.allow_sources_rename = NO
collection_extension.calendar_enabled = YES
collection_extension.calendar_url = https://nextcloud.host.name
collection_extension.contacts_enabled = YES
collection_extension.contacts_url = https://nextcloud.host.name
collection_extension.identity = my-username
collection_extension.mail_enabled = YES

So we definitely miss the server URL here - and potentially other stuff. Needs some more investigation.