alainm23 / planify

Task manager with Todoist & Nextcloud support designed for GNU/Linux 🚀
GNU General Public License v3.0
3.58k stars 211 forks source link

Multiple spinners when synchronizing #1460

Closed janvlug closed 1 week ago

janvlug commented 2 weeks ago

Describe the bug Sometimes I see two (maybe sometimes even more, not sure) spinners when Planify is updating against my Nextcloud back-end:

image

Is this normal? I experience a few other issues with synchronization: https://github.com/alainm23/planify/issues/1391, https://github.com/alainm23/planify/issues/1457. Could these be related?

To Reproduce Steps to reproduce the behavior:

  1. Open Planify that syncs against a Nextcloud back-end.
  2. See how synchronization starts

Expected behavior It should be clear for me if synchronizing projects (task lists) goes in parallel or serial. Currently, it looks sometimes in parallel, but as a user I do not know if this is expected or not.

Desktop (please complete the following information):

janvlug commented 2 weeks ago

I noticed now also that the spinner (in general I see just one) does not always move linearly from the top to the bottom. For a few sub-tasks it jumps up and down in the list.

janvlug commented 2 weeks ago

I made a screencast of the non-linearity:

https://github.com/user-attachments/assets/b6142389-f0f3-4680-a88d-2343a0352bec

janvlug commented 2 weeks ago

Also collapsing or not a Task list with sub-tasks seems to influence the order of synchronizing (e.g. collapsing the "Dagtaken" in the screen-cast above seems to change the synchronization order.

alainm23 commented 1 week ago

Unrelated, spinners were added to indicate the synchronization process of each project.