obsidian-tasks-group / obsidian-tasks

Task management for the Obsidian knowledge base.
https://publish.obsidian.md/tasks/
MIT License
2.49k stars 231 forks source link

Tasks plugin does not perform well with todos in block embeds #1861

Closed weaversam8 closed 1 year ago

weaversam8 commented 1 year ago

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

Expected Behavior

When using Obsidian Block Embeds checking and unchecking a task should behave the same as if a task is present in the presently open file (the same as normal.)

Current behaviour

Currently block embeds + tasks are somewhat buggy.

What works:

What doesn't work:

Steps to reproduce

Create File with actual tasks.md:

- [ ] Task A ^taskA
- [ ] Task B ^taskB
    - [ ] Task B1 ^taskB1
- [ ] Task C ^taskC

Create File Embedding.md:

![[File with actual tasks#^taskA]]
![[File with actual tasks#^taskB1]]
![[File with actual tasks#^taskC]]

Try the following actions:

  1. Check Task A
  2. Check Task C
  3. Uncheck Task A
  4. Uncheck Task C
  5. Check TaskB1

Which Operating Systems are you using?

Obsidian Version

1.1.9

Tasks Plugin Version

3.1.0

Checks

Possible solution

No response

claremacrae commented 1 year ago

Hi @weaversam8

Thanks for the report. It is very helpful to have the actual text to paste in to Tasks - thank you.

I am confused as to how that can be the case when you have checked that you were trying it with other plugins disabled.


I tried following the instructions to reproduce, and found they weren't a complete list of steps.

Please have a read of this page:

https://publish.obsidian.md/tasks/Support+and+Help/Report+a+Bug#Give+steps+to+reproduce+the+bug

And then try to fill in the missing steps:

Try the following actions:

In which file?

In which Obsidian mode?

  1. Check Task A
  2. Check Task C
  3. Uncheck Task A
  4. Uncheck Task C
  5. Check TaskB1

Please actually record what happens for each of these steps.

Thank you.

Someone will be reviewing this issue in future, and will not know whether the behaviour they see is the same as the behaviour you saw.


Actually, one more request: please also try to reproduce the problem without even Obsidian Tasks installed.

I have previously found that even vanilla Obsidian does not work well embedded Tasks, in which case this plugin doesn't stand much of a chance.

Thanks.

claremacrae commented 1 year ago

Hi @weaversam8, please do answer the questions above. Many thanks.

claremacrae commented 1 year ago

Closing due to insufficient information.

Am happy to reopen when the questions above are answered.