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

  1. Open empty folder as vault
  2. Install Dataview
  3. install Tasks plugin
  4. Set Task Format to Dataview
  5. Restart Obsidian
  6. Create new note
  7. 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]
  1. Complete task 6 times
  2. Select live preview mode
  3. Reopen file tab (File tab must be open already in live preview mode (don’t skip step 10)

Problem only appears if:

  1. Task have [repeat:: ] field
  2. Task have personalized inline field
  3. Dataview plugin is enabled
  4. 6 or more tasks are completed
  5. 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

Most upvoted comments

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

How were you tracking the RAM?

Sorry for the delay… Busy week. I started noticing the PC getting slower so I checked task manager.

@claremacrae

Do you have any other machines or devices that you can try it on?

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.