I believe this is related to dropped contexts. To reproduce:
Note: Do not assign due dates for the projects and tasks. Due Soon or Past Due badge counts override the total items badge count. --
- In project mode, create ProjectA and Project B (assign no context).
- Create Task1 and Task2 in ProjectA (assign no context).
- Switch to context mode. The No Context badge count should increase by two (n+2, where n is your No Context count before these steps) and the tasks should appear in No Context.
- Create ContextAlpha.
- Create Task3 and Task4 in ContextAlpha. Assign Task3 and Task4 to ProjectB.
- Switch to project mode and select ProjectB. Task3 and Task4 are in ProjectB, as expected.
- Switch to context mode and drop ContextAlpha.
- The No Context badge count increases by 2 (for a total of n+4), but only Task1 and Task2 are visible in No Context.
- Switch to project mode and select ProjectB. Task3 and Task4 are still listed and assigned to ContextAlpha.
To check if this is the cause of your issue, go to context mode and select “All Projects” under “Context Filter” in the View Bar. Do you have any dropped contexts? Are there any tasks in those contexts? If so, make the contexts active; or assign the tasks to an active context/no context; or delete the tasks. The No Context count badge should decrease to match the items actually displayed in No Context.
There seems to be a discrepancy in how OF defines tasks in a dropped context, or at least the way OF handles such tasks can be confusing.
- When you drop a context that contains tasks, OF preserves those tasks—and lists the dropped context—in their assigned projects.
- When viewing those projects there is no visual indicator that a task's context has been dropped—the dropped context is still listed in the context column and inspector in the same manner as active contexts. (Note: Other tasks cannot be assigned to the dropped context—it does not appear in the drop down list in the context column, nor the inspector).
- OF defines tasks of dropped contexts as having no context since the No Context badge count increases.
- OF also defines these tasks as having a context, since the tasks aren't displayed in No Context and the dropped context is listed by the task in project mode.
I am unsure if this behavior is intended—an effort to balance the visibility of tasks assigned to dropped contexts—or if this is a bug. If you'd like OF to handle the No Context badge count in a different manner; or would like a some sort of visual cue**
that indicates a dropped context in the context column, e.g., dropped context listed in italics in context column; or would like tasks in dropped contexts to be handled the same way as tasks in a deleted context*, please use Help > Send Feedback…
*Tasks assigned to a context that has been deleted will also remain in their projects but be assigned no context.
**There is a cue, actually. Tasks assigned to dropped contexts are correctly defined as not available. --