fuxialexander / org-pdftools

A custom org link type for pdf-tools
GNU General Public License v3.0
336 stars 36 forks source link

Error while inserting precise notes #73

Open CaglanT opened 3 years ago

CaglanT commented 3 years ago

Thanks for your incredible work!

I have a problem with a very important function though. Here's the deal:

Creating the annotation skeleton and all other functionality works really well.

I can insert notes without a problem when I don't have any selections. The links work perfectly well.

However, when I make a selection and try to insert a precise note with either org-noter-insert-precise-note or org-noter-pdftools-insert-precise-note I get a lightgray highlight and a standart pdftools annotation window alogside the error:

image-mode-window-get: Wrong type argument: listp, t

The new note only gets added as an annotation and not reflected in the .org file. I'm not really experienced so I don't have the necessary toolset to debug the problem further, do you have any suggestions for why this might happen?

This seems to be the same problem as: https://github.com/fuxialexander/org-pdftools/issues/63#issuecomment-824685385