jtxBoard icon indicating copy to clipboard operation
jtxBoard copied to clipboard

[BUG] Alarms/notification ignore syncing from Nextcloud

Open ecsv opened this issue 1 month ago • 2 comments

Describe the bug

I am using jtx Board Pro with Nextcloud Tasks and DAVx5. I have "sticky alarms" with "Always on due" enabled to see all the due alarms. This is extremely important to me because I use my phone to inform me about tasks which need to be done immediately. Only on my PC, I handle tasks which can be started.

But I've noticed that I was often not informed via notifications about tasks which were created on my PC. Looking at the jtx board (directly), I can see that the task is marked as "overdue" but there is no notification (and there was no notification alarm).

I don't have perfect guide to recreate this problem. But I can show it with the inverse setup - hoping that it can help to find my problem in the process. The inverse is:

  • alarm/notification was created from an overdue task created directly in jtxBoard
  • when changing the task in Nextcloud and syncing it, the sticky notification doesn't disappear - only when I save the task again in jtxboard, the notification disappears

To Reproduce

  1. Create overdue task in jtxboard
  2. observe notification in jtxboard
  3. sync task to Nextcloud Tasks (DAVx5)
  4. change due date in nextcloud Tasks to next week
  5. sync with DAVx5
  6. see that jtxboard no longer marks the task as "overdue" and has the right due date next week
  7. still see the notification about the overdue task (which is actually no longer overdue) -> error
  8. go to jtxboard and just open the (no longer overdue) task and just save it without any modification
  9. observe that the task is no longer shown in the notifications

Expected behavior

  • tasks which are synced (from external source to jtxboard) should force appropriate actions for notifications
    • no longer overdue tasks should be removed from notifications
    • now overdue tasks should be added to notifications
    • tasks which will soon be overdue should cause the appropriate alarm/notification when they are due/overdue

Device and version

  • Device: Google Pixel 9a
  • Android version: Android 16
  • jtx Board version: 2.14.00.gplay (214000003)
  • Downloaded from: Google Play

ecsv avatar Nov 01 '25 09:11 ecsv

Hi @ecsv , I can have a look at that. The implementation would only consider the immediate alarm on saving, the sync only schedules the upcoming alarms. But to better understand that, why would you regularly enter an overdue task in Nextcloud?

patrickunterwegs avatar Nov 06 '25 12:11 patrickunterwegs

But to better understand that, why would you regularly enter an overdue task in Nextcloud?

I don't. I enter a task which will become due in the near future - lets say tomorrow. It seems like this is synced fine to jtx but still no alarms appear (notifications) when they should. I don't have this problem when I directly enter the due times in jtx board or when I (after syncing) re-save the TODOs in jtx board. At least the latter is my impression at the moment.

Or what I also sometimes do, have an overdue task, reschedule "due" to the end of the week and then expect that (after a sync) the alarm disappears. But this doesn't seem to happen - as shown in the step by step explanation. A re-save (without modifications) in jtx board still seems to be necessary to make this happen

ecsv avatar Nov 06 '25 12:11 ecsv