Backlinks in document are not refreshed if there are many of them

When I’m browsing notes backlinks in document are not refreshed when opening note, which has many of them. The same backlinks are successfully refreshed in Backlinks pane and in Local graph.


(In this example the note ‘Food’ is open, and there are actual backlinks for this note in Backlinks pane and in Local graph, but the Backlinks in document shows backlinks for the previously opened note ‘Reading’).

Here is a video of the issue.

Environment

  • Operating system: macOS Monterey (latest beta)
  • Obsidian version: 0.12.13

Additional information

if there are few of them?

Yes, this mainly happens when there are more than 40 linked mentions in a note. (Like in the attached screenshot and the video).

are you sure you don’t have this problem? https://forum.obsidian.md/t/backlink-in-preview-view-cant-refresh-correctly-on-time/22430

Yes, exactly! So, the problem is the empty note. If the note which you are switching to has no content, the backlinks in the document are not refreshed.
Thanks for pointing me.