obsidian-tasks: Tasks does no longer initialise properly, for any Queries in Callouts in Live Preview, when already opened at start-up
⚠️ Check issue is valid.
- My request is about the Tasks plugin for Obsidian.
⚠️ Check that this issue hasn’t been reported before.
- I searched previous Tasks plugin Bug Reports didn’t find any similar reports.
Steps to reproduce
After updating to 7.18.0, callouts with imbedded task queries do no longer show properly when Obsidian is restarted - the source of the query is shown, not the result. If after that I create a new task, the query works again.
Maintenance note: Steps to reproduce, and screenshots, added by @claremacrae
- Create a note called
Issue 3366 callout at startup - Insert this content:
# Issue 3366 callout at startup
> [!NOTE]
> ```tasks
> path includes {{query.file.path}}
> ```
- [ ] #task Hello world
- Open 3 views of this note - in Source, Live Preview and Reading Mode
- Run the command
Reload app without saving
Expected Behavior
tasks queries work on startup
Current behaviour
query does not execute (in the Live Preview pane)
Which Operating Systems are you using?
- Android
- iPhone/iPad
- Linux
- macOS
- Windows
Obsidian Version
1.8.7 (installer 1.7.7)
Tasks Plugin Version
7.18.0
Checks
- I have tried it with all other plugins disabled and the error still occurs
Possible solution
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (2 by maintainers)
Just FYI I had the same bug in Canvas, also solved by the latest release =) Many thanks @mnaoumov !
Can confirm that it works for me now. Thanks for the quick response!
@claremacrae provided the fix in the PR
This is just released in Tasks 7.18.1.
Many thanks for the help, @mnaoumov!
Super - thank you very much indeed. Will pick this up soon…
@claremacrae I would need to debug it. The behavior looks weird to me. I will let know once I debug it
Yes it is, and I am always working in that mode (except when debugging something) so I would not have thought to include that in the bug report, sorry.