Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification for recurring task re-appears after completion #2876

Closed
major-mayer opened this issue May 7, 2024 · 16 comments
Closed

Notification for recurring task re-appears after completion #2876

major-mayer opened this issue May 7, 2024 · 16 comments

Comments

@major-mayer
Copy link

I have two (daily) recurring tasks that I usually complete via the notification which i receive every day.
Most of the time it works well, but sometimes the notification just re-appears as if I haven't completed the task.
This is not only inconvenient, but if I complete the tasks another time, it actually completes the tasks for the next time.

In this screenshot, you can see that i have the two notifications for task A and B that are recurring on a daily basis (+ one irrelevant task).
It looks like both of them should be completed today and are open since 2 hours.

Screenshot_20240507-113106_crDroid Home

In fact, I have already completed one of those tasks, which you can see in the app.
Only task A is due today ("Heute"), task B is actually due tomorrow ("Morgen").
Screenshot_20240507-113130_Tasks

I am syncing my tasks to Nextcloud via Dav5x, if that is relevant, but completed them via the notifications of the Tasks app.

@major-mayer major-mayer changed the title Notification for recurring tasks re-appears after completion Notification for recurring task re-appears after completion May 7, 2024
@RayBB
Copy link
Contributor

RayBB commented May 7, 2024

I think I've experienced this a few times before but have never been able to pin down a root cause.
Would it be possible to share a screenshot of your task to see how it is configured?

@major-mayer
Copy link
Author

major-mayer commented May 7, 2024

Yes of course, everything that helps to debug this issue.

Screenshot_20240507-141802_Tasks.png

The "pausiert bis 8. Mai 9:00" is only to get rid of the notification for the rest of the day.
Normally it's not paused.

Edit: Screenshot in English
Screenshot_20240507-142026_Tasks.png

@abaker
Copy link
Member

abaker commented May 8, 2024

Thanks for the details, and sorry for the trouble! I am hoping this is fixed in v13.9 - if you're interested in testing this out you can sign up for beta testing in the Google Play Store

@major-mayer
Copy link
Author

All right, I've registered for the beta group, but not sure if I can really test it, because the error only occurred very infrequently.
If I encounter it again, I will tell you.

@major-mayer
Copy link
Author

Unfortunately, I just got the same issue again on version 13.9.4

@abaker
Copy link
Member

abaker commented May 19, 2024

Can you see if you still experience this on 13.9.6?

@major-mayer
Copy link
Author

So far I haven't had any issues.
I will report if it occurs again.

@major-mayer
Copy link
Author

Jep just had the same issue again :/

@abaker
Copy link
Member

abaker commented May 26, 2024

Is this happening with only snoozed tasks or any task?

@major-mayer
Copy link
Author

The notifications appears again immediately after I mark the task as done (using the notification as well).
The task is not snoozed at this point.
I only snooze it sometimes when I get annoyed about this second notification, but just for a few hours.

But actually the second, unwanted notification just disappeared again.
Don't ask me why, I was just checking the task details within the app and it disappeared 😅
So maybe this is partially fixed already?

@major-mayer
Copy link
Author

But I see a difference now :
Before it was impossible to swipe away the duplicated notification, but no it is possible.

@abaker
Copy link
Member

abaker commented May 30, 2024

Another user that reported this to me a few weeks ago, and was experiencing it regularly, messaged me today that they haven't seen this since updating to 13.9.6.

I believe I fixed the original issue in one of the early 13.9 betas, but then refactored some notification code and introduced a new-but-similar bug. The new bug was specific to snoozed tasks, and is fixed according to a unit test.

Its possible there is yet another bug (the original bug is gone because most of that code is gone), so any additional patterns or details you can provide will be helpful

@major-mayer
Copy link
Author

Okay good to know.
So what kind of details would you be interested in, if it happens again to me?

@abaker
Copy link
Member

abaker commented Jun 3, 2024

It can be hard for me to reproduce bugs because there are so many features and configuration options, but if you notice any patterns with the affected tasks, like recurring vs non-recurring, what notifications are configured for the task, if there are other notifications happening at the same time, etc, that can help me repro something so I can fix it.

The second snooze bug was triggered by snoozing a task until it would fire again at the same time as another notification for the same task, e.g. a task due at 9AM w/ a repeat notification every 24 hours, snoozing the task until 9AM caused double notifications. I rarely snooze tasks and don't use overdue notifications, so I was only able to find the bug thanks to a user report

@githubtefo
Copy link

Not sure if related, but for repeated tasks I am not having notifications at all (I do see the notification on my desktop for the same tasks in GNOME).

@major-mayer
Copy link
Author

Didn't experience this issue any more in the past months despite using it daily.
So I guess this is resolved now.
Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants