elementary / tasks

Synced tasks and reminders on elementary OS
https://elementary.io
GNU General Public License v3.0
84 stars 21 forks source link

Duplicated tasks in Scheduled view when changing color of the task list #359

Closed lenemter closed 1 year ago

lenemter commented 1 year ago

What Happened?

Duplicated tasks in Scheduled view when changing color of the task list.

image

Steps to Reproduce

  1. Open task list with tasks with due dates
  2. Change its color
  3. Open Scheduled view

Expected Behavior

No duplicated tasks.

OS Version

7.x (Horus)

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

Claudio-code commented 1 year ago

I managed to find Tasks.Widgets.TaskRow but it has the source with the hash and uid different from what comes by parameter in the function so the validation still wouldn't work, I'll try to see another way to compare the two sources

image

Claudio-code commented 1 year ago

if you remove the right TaskRow it stops duplicating anymore I can't find how to compare the TaskRow.source with the source that comes as a parameter