org-roam / org-roam-ui

A graphical frontend for exploring your org-roam Zettelkasten
GNU General Public License v3.0
1.98k stars 109 forks source link

[BUG] Preview shows backlinks that don't belong #230

Open meedstrom opened 2 years ago

meedstrom commented 2 years ago

Describe the bug After clicking around for a while with the sidebar open, the "Linked references" section gets littered with backlinks from nodes I've clicked previously, with no relation to the current node.

Closing and re-opening the sidebar fixes it.

To Reproduce Click around on nodes in the graph. It doesn't happen every time I click, but after clicking 5-10 nodes I'll tend to have a few "freeriders" that don't belong in the Linked references.

Expected behavior No freeriders.

What browser were you using? Chromium on Linux

Additional context Going by the fact no one else raised an issue yet, I figure it could be specific to my machine. I will test on a different machine soon.

I also use nested headings, I could try to test with a subset of my roam folder that lacks them.

I put some links in headings too, which apparently has an upstream bug https://github.com/org-roam/org-roam/issues/2053

akashpal-21 commented 1 year ago

The upstream issue doesn't exist anymore it seems, any update on this bug on org-roam-ui? This is the very first bug which is noticeable when opening. Seems to only gets triggered from Nodes inside pages.