obsidian-tasks: Obsidian Freezes When Viewing Tasks queries in Kanban Plugin

Please check that this issue hasn’t been reported before.

  • I searched previous Bug Reports didn’t find any similar reports.

Expected Behavior

When viewing tasks in Kanban, the tasks should be displayed without causing Obsidian to freeze. Users should be able to interact with the Kanban board and the tasks without any performance issues.

Current behaviour

When attempting to view tasks in Kanban, Obsidian freezes. The application becomes unresponsive and requires manual removal of the Kanban plugin from the .obsidian folder to restore functionality.

Steps to reproduce

I have created minimal vault to demonstrate the issue

minmial.zip

1-Install the Tasks and Kanban plugins in Obsidian. 2-Create a new vault or use an existing one to demonstrate the issue.

  • Test 1 task ⏫ 📅 2024-07-04
  • Test 1 task ⏫ 📅 2024-07-09
  • Test 1 task ⏫ 📅 2024-07-07

3-Open Kanban and create cards. 4- Enter the following code in the Kanban card to view all tasks:

not done

5-Observe that Obsidian freezes and becomes unresponsive. 6-Remove the Kanban plugin from the .obsidian folder to regain access to Obsidian.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version

1.6.5

Tasks Plugin Version

7.6.0

Checks

  • I have tried it with all other plugins disabled and the error still occurs

Possible solution

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16

Most upvoted comments

thank you so much, i have tried ![[Search#Query 1]] but it would not let me treat each task individually, when i try to move one task, it moves all the tasks in that note.

Nothing in Kanban allows you to interact with individual tasks from a Tasks query - all you can do is move the query to a different Kanban column, or up or down in the same column.

Which I think is why it so unusual to see someone trying to put a Tasks query in to a Kanban board - I don’t think it makes any sense.

OK I’ve got a workaround for you:

Put your query in to a separate file, such as Search.md

```tasks
not done
```

Then embed that file inside the Kanban card:

![[Search]]

And it then works fine.

So the markdown for tasks in the Kanban becomes:

- [ ] write the code. here
- [ ] ![[Search]]