mpcjanssen / simpletask-android

GNU General Public License v3.0
548 stars 128 forks source link

SimpleTask calendar disappears after a while #672

Open ddisanti opened 8 years ago

ddisanti commented 8 years ago

Cloudless 8.3.0 from Play Store. I set reminders for due dates on the same day at 9:30. But I do not receive notifications. When opening the calendar app, SimpleTask calendar has disappeared. Then I open SimpleTask, I edit any task, save it and close SimpleTask. Only then Simpletask calendar shows up again. It happens if I don't open Simpletask for a while, lets say the whole afternoon.

smichel17 commented 8 years ago

Debug log would be very helpful here, so I guess we're blocked on #670

ddisanti commented 7 years ago

It happened again today. I opened ST for last time yesterday at afternoon. I was about to open it early today and remember this issue. So, I opened the Google Calendar app and Simpletask calendar wasn't there. I have set ST calendar reminders at 07:30AM, but this issue/bug makes that pointless. Debug log attached. Simpletask-20170213.txt

mpcjanssen commented 7 years ago

@ddisanti , will restarting the application (e.g. really killing it and restarting) recreate the calendar? I suspect it's a race condition where calendar syncing starts before the todolist is loaded.

ddisanti commented 7 years ago

No needed to kill ST. Just exit with BACK button and the calendar is recreated.

El lun., 13 de febrero de 2017 10:47, Mark Janssen notifications@github.com escribió:

@ddisanti https://github.com/ddisanti , will restarting the application (e.g. really killing it and restarting) recreate the calendar?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/mpcjanssen/simpletask-android/issues/672#issuecomment-279396453, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ802vjmy2SiZB0tKd0T4Z5sAmfTWLS-ks5rcF7SgaJpZM4KeHuK .

ddisanti commented 7 years ago

@mpcjanssen I've been uisng the build you posted here I made a list for testing and added some task with due and threshold dates setted . Then I've closed ST-debug and didn't opened it for a day. The notifications worked fine. They were triggered as expected. The only thing is that during this test the ST calendar was missing from the Google Calendar app and it was recreated only after I opened ST. In short, notifications worked ok but ST calendar dissappear untill ST is started.

ddisanti commented 7 years ago

@mpcjanssen it seems to be fixed in latest Cloudless Beta 9.0.0. Notifications are properly triggered and ST calendar is there.

mpcjanssen commented 7 years ago

@ddisanti because I don't understand exactly what was causing this issue, please keep monitoring this for a while before closing this issue.

vojtechkral commented 7 years ago

Huh, weird. As far as I know, there wasn't any code change between those builds. Android calendar works in mysterious ways...

mpcjanssen commented 7 years ago

I did change some calendar sync stuff recently (mostly using config settings directly) which could make a difference.