RyotaUshio / obsidian-pdf-plus

PDF++: The most Obsidian-native PDF annotation, viewing & editing tool ever. Comes with optional Vim keybindings.
https://ryotaushio.github.io/obsidian-pdf-plus/
MIT License
842 stars 16 forks source link

[Bug] Backlinks not showing up correctly for a PDF with multiple annotations #302

Open leochick opened 22 hours ago

leochick commented 22 hours ago

Steps to reproduce

  1. I have a sizable PDF (114 pages) that has many annotations. On some pages, there are overlapping annotations as well
  2. I open the backlinks pane
  3. I select "Show only backlinks in the current page"

Expected behavior

I would expect all annotation backlinks for the current page to show up in the backlinks pane

Actual behavior

Oftentimes, backlinks do not show up for that page in my annotated PDF file.

When I select a different view (ex. Created time (old to new)), I can get backlinks to show up. But it seems like it's only a subset, and it is a hassle to have to switch between views like this on the backlinks pane

Screen recordings or screenshots (sandbox vault)

Backlinks sometimes don't show

NoBacklinksScreenshot

Backlinks show after selecting a different view

BacklinksAppearAfterSelectingAnotherView

Obsidian debug info

Not applicable

PDF++ debug info

Not applicable

Error messages

No response

RyotaUshio commented 21 hours ago

Thank you for the report. To be able to fix it, I have to be able to reproduce the bug constantly. For this purpose, your debug info (both Obsidian & PDF++) is crucial and that's why I asked you to fill in the forms. Please share the debug info. Also, the specific PDF file and markdown files containing links to the PDF will be necessary to be able to reproduce the bug. Can you share them with me too? If you want to keep it private, you can email me. The email address is on my profile.