You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cancelled tasks appear as incomplete in Calendar views #476
You were right that it was specific to the calendar surfaces. Cancelled tasks were parsed correctly and the Tasks list has grouped them under Cancelled since #450, but both calendar helpers filtered on "is it checked" alone, so a - [-] task passed as not done and rendered with an empty checkbox next to actionable ones:
tasksDueOn — the Calendar panel's per-day lists and counts
bucketTasksByDueDate — the Tasks calendar's day badges, the selected day's list, and the No date strip
The panel's month-grid "N open tasks" dot counted them as open too, which you'd have noticed next on any daily note holding a cancelled task.
All three now share one predicate: open means not done and not cancelled. @waiting tasks still keep their date on the calendar (#236/#311), and undated cancelled tasks no longer pad the No date strip.
Verified by driving the real desktop build with one task per state due today, plus a daily note holding an open and a cancelled task: the panel's day list goes from 5 rows to 3, its dot from "2 open tasks" to "1 open task", and the Tasks calendar's day badge from 5 to 3.
One thing I deliberately left alone: a forwarded[>] task still shows on both calendars. Forwarding writes the copy from the task's token-stripped text, so the copy carries no due: date — hiding the origin would drop the task off the calendar entirely rather than move it to where it went. Making forwarding carry the due: token across and then dropping the origin is the right fix, but it changes forwarding's behaviour, so it wants its own issue. Shout if that one bites you as well.
Thanks for the clear report, and for the repro steps down to the keystrokes.
Activity
adibhanna commentedon Jul 27, 2026
Fixed in 3ed0411, on the
v2.19.0branch.You were right that it was specific to the calendar surfaces. Cancelled tasks were parsed correctly and the Tasks list has grouped them under Cancelled since #450, but both calendar helpers filtered on "is it checked" alone, so a
- [-]task passed as not done and rendered with an empty checkbox next to actionable ones:tasksDueOn— the Calendar panel's per-day lists and countsbucketTasksByDueDate— the Tasks calendar's day badges, the selected day's list, and the No date stripThe panel's month-grid "N open tasks" dot counted them as open too, which you'd have noticed next on any daily note holding a cancelled task.
All three now share one predicate: open means not done and not cancelled.
@waitingtasks still keep their date on the calendar (#236/#311), and undated cancelled tasks no longer pad the No date strip.Verified by driving the real desktop build with one task per state due today, plus a daily note holding an open and a cancelled task: the panel's day list goes from 5 rows to 3, its dot from "2 open tasks" to "1 open task", and the Tasks calendar's day badge from 5 to 3.
One thing I deliberately left alone: a forwarded
[>]task still shows on both calendars. Forwarding writes the copy from the task's token-stripped text, so the copy carries nodue:date — hiding the origin would drop the task off the calendar entirely rather than move it to where it went. Making forwarding carry thedue:token across and then dropping the origin is the right fix, but it changes forwarding's behaviour, so it wants its own issue. Shout if that one bites you as well.Thanks for the clear report, and for the repro steps down to the keystrokes.
Fix(tasks): keep cancelled tasks out of the calendar views (ZenNotes#476
Fix(tasks): a forwarded task is one task on the Tasks page, not sever…
Fix(tasks): list_tasks and zn task list leave cancelled tasks out of …