opentasks icon indicating copy to clipboard operation
opentasks copied to clipboard

OpenTasks does not show synced lists from DAVdroid

Open marteserede opened this issue 8 years ago • 12 comments

I use DAVdroid with my mailbox.org-account. I installed OpenTasks before installing DAVdroid and in DAVdroid all the task lists I create are shown properly. If I create new ones online, they also show up, so that part works fine. Also if I go into Settings->Accounts->DAVdroid, the tasks-sync-part is show and no error.

But if I open OpenTasks, it does not show any of those lists, just the one default "My tasks"-list which is local. The synced lists just dont show up anywhere. I already tried deleting both apps, installing them new in different orders, but still the synced tasks or tasks list just wont show up.

I am using a Xiaomi Redmi 3S with Android 6.0.1 MMB29M. The Xiaomi Phones use a special Android Version for example without Google Play Services... The MIUI Version is 8.1. Maybe it has something to do with that? Or is there some setup necessary which I missed or what could be wrong here?

marteserede avatar Dec 25 '16 23:12 marteserede

Same here, different than stated in the manual it does not work with DAVdroid. In area "Synced lists" nothing is shown and when I try to add an yccount, it is only a local one.

Elmi77 avatar Jan 30 '17 16:01 Elmi77

This sounds like an issue in DavDroid to me. OpenTasks shows all lists that have been created in the database (given all values are set correctly).

@Elmi77 not sure which manual you refer to, but OpenTasks doesn't have any code that is sync app specific. It depends entirely on the sync app if it supports OpenTasks.

dmfs avatar Jan 31 '17 07:01 dmfs

@dmfs: not really the manual but the app description which states:

"A simple task manager app, allowing you to categorise your todo list by urgency, state, timeframe etc. Tasks can be synchronised with a CalDAV server using DAVdroid."

That's why I assume I has been tested with DAVdroid. Btw: other Apps that make use of calendar and contacts via DAVdroid work fine...

Elmi77 avatar Jan 31 '17 08:01 Elmi77

That's the description at F-Droid. We have nothing do to with that. In our Google Play description we don't endorse any specific sync app. Please file an issue in the DavDroid project regarding this.

dmfs avatar Jan 31 '17 08:01 dmfs

Same here, not using DAVDroid but "Easy DAV für OwnClound" instead. Other apps work very well with it, but are less good than OpenTasks. That's pity.

Freeedim avatar Feb 17 '17 14:02 Freeedim

I was reconfiguring a tablet I didn't use for some time, and I couln't get DavDroid tasks on OpenTasks. The strange thing is that I have the same versions for both apps on a phone and it works correctly (DavDroid version 1.5.2-ose and OpenTasks version 1.1.8.2).

After reading this OpenTasks issue, I found this DavDroid issue https://forums.bitfire.at/topic/1237/unable-to-give-davdroid-access-to-opentasks, recommending to check app permissions.

I went to app permissions configurations and verified OpenTasks did not have write nor read permissions for tasks. Neither did DavDroid.

Now it works fine (as far as I tested). But OpenTasks has a "glitch": when I enable the permission, go out of the screen and then go back to the same screen, OpenTasks permission is disabled. If I enable then disable the permission for OpenTasks, without going out of the screen, I receive the following message: This app was designed for an older version of Android. Denying permission may cause it to no longer function as intended.

The device is SM-P550 (Samsung) and the Android version is 6.0.1 (Samsung version).

jwaghetti avatar Jun 02 '17 02:06 jwaghetti

i have granted permissions to davdroid and opentasks. opentasks lists the synced tasks, but the widget only shows local tasks..

(using LineAgeOS 14.1)

obama avatar Aug 18 '17 17:08 obama

Same here. I had one CalDAV source in DavDroid, it was shown in OpenTasks. Then I added another one. It didn't appeared in OpenTasks. Then I reinstalled Opentasks - now I have neither. And reinstall/clean data don't help.

LightTemplar avatar Jun 28 '18 13:06 LightTemplar

actually now it works for me, on my new phone.

KittenToo avatar Jun 28 '18 19:06 KittenToo

Similar issue here, local tasks are displayed, synced ones with DAVdroid not (widget is set to display both).

Flavelius avatar Jul 10 '18 10:07 Flavelius

Refresh the calendar list in DAVDroid works for me. screenshot_davdroid_20180907-134659

SiqingYu avatar Sep 07 '18 05:09 SiqingYu

Note that nowadays, DAVx5 has an extra settings page for the supported tasks app. This setup is available via the very button point "integration" on the settings, and shows the currently active todo app icon next to it. While there are switches to activate several apps, it seemed to me like only the one, which gets the exclusive radio button on the left set, gets actually the sync flow. When I set the tick to Tasks.org, only that gets the sync, and OpenTasks gets nothing, also no error. Changing the tick to OpenTasks consequently reverts the situation. So I'd speculate that the meanwhile said-to-be-abandoned OpenTasks has something "special" in its handling of the todo format that contradicts to others like Tasks.org, such that DAVx5 adapter can serve only the one or the other correctly at a time.

TheOtherDoctor avatar Jan 06 '23 00:01 TheOtherDoctor