blacksmithgu / obsidian-dataview

A data index and query language over Markdown files, for https://obsidian.md/.
https://blacksmithgu.github.io/obsidian-dataview/
MIT License
6.94k stars 411 forks source link

Dataview causes screen flickering. #2285

Open shui-dun opened 6 months ago

shui-dun commented 6 months ago

What happened?

When there is dataview query in a file, modifying other parts of the file will trigger the refresh of dataview, causing screen flickering.

Possible solutions:

DQL

No response

JS

query

Other text (being modified)

Dataview Version

0.5.66

Obsidian Version

1.5.11

OS

Windows

GottZ commented 6 months ago

this issue contains two mentioned issues.

  1. dataview running before obsidian has finished building the vault cache
  2. improving the rendering pipeline for updates

in regards to the screen flickering, could you please check this option and maybe increase the timeout value? image

it should prevent flickering during editing unless you type with gloves. then you should probably take them off first.