obsidian-tasks: plugin can't render more that 4 complete recurring task with inline fields (dataview) [in Live Preview]
Please check that this issue hasn’t been reported before.
- I searched previous Bug Reports didn’t find any similar reports.
Expected Behavior
Open file in preview mode and see every completed recurring task
Current behaviour
If the recurring task has inline dataview fields [key:: value], after 4 completed recurring tasks, live preview starts flickering and the tasks are not all rendered
RAM starts spiking while the note is open in preview mode (Obsidian’s RAM consumption rose to 2GB before I noticed and closed the note)
There is no problem under RAW mode nor Reading mode
Dataview code blocks (In different files) can access tasks data without problem and Page preview renders file correctly (in reading mode)
Steps to reproduce
- Open empty folder as vault
- Install Dataview
- install Tasks plugin
- Set Task Format to Dataview
- Restart Obsidian
- Create new note
- Create recurring task with personalized dataview inline fields
- [ ] #payment **pay rent** [amount:: amount] to [person:: [[person_note]]] [method:: transfer] [priority:: highest] [repeat:: every month] [due:: 2023-02-01]
- Complete task 6 times
- Select live preview mode
- Reopen file tab (File tab must be open already in live preview mode (don’t skip step 10)
Problem only appears if:
- Task have [repeat:: ] field
- Task have personalized inline field
- Dataview plugin is enabled
- 6 or more tasks are completed
- File is opened in live preview mode
If the flickering file is viewed in viewing or raw mode, it can then be changed to live preview and the file is rendered properly
Which Operating Systems are you using?
- Android
- iPhone/iPad
- Linux
- macOS
- Windows
Obsidian Version
1.4.16
Tasks Plugin Version
5.0.0
Dataview Plugin Version
0.5.61
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 8 months ago
- Comments: 19
FYI there is an open issue in dataview where the prettified inline fields is causing rendering issues very similar to what’s described in this ticket, and the dataview configuration to disable pretty-rendering of inline fields does not disable the pretty-rendering. The issue gets worse the more inline fields a note has, especially if they’re clumped together, which a recurring task with inline fields would create.
@claremacrae
Sorry for the delay… Busy week. I started noticing the PC getting slower so I checked task manager.
@claremacrae
I tried in my work desktop (Linux mint 21.2) and the problem was still there.
Could we assume the issue is from dataview plugin? Reading the issue @sofie-bird told, seems the problems in rendering happened with only dataview installed.