jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Support opening of a pdf file at the position of an annotation

Open lenhard opened this issue 9 years ago • 12 comments

We merged the stupro PR that adds a tab to display pdf annotation in JabRef. The PR attempted to add the functionality to open a PDF at the position of the currently selected annotation.

However, this only worked for Sumatra PDF and therefore we removed it in 8d3ddadf2572ead815741370945ee4bd175149d6. We need a more sophisticated facility to pass arguments to different PDF readers and we need to find out which arguments other PDF readers expect in the first place.

lenhard avatar Feb 15 '17 19:02 lenhard

Hi @lenhard, I'd like to work on this issue as I'm building my open-source contribution experience. Before I dive in, I wanted to check a couple of things:

  1. Is there a specific PDF reader (or a small set of readers) you'd suggest starting with, to keep the initial scope manageable?
  2. Is there an existing pattern in the codebase for launching external applications with arguments that I should follow?

Happy to start with research on reader-specific arguments if that's a reasonable first step. Thanks!

koushikkallamadi avatar Sep 05 '26 16:09 koushikkallamadi

/assign-me

raguramag7 avatar Sep 21 '26 08:09 raguramag7

Thank you for your continued work in JabRef. At this point, you probably already know the basics and the important links. If not, our contributing guidelines is the place you should go to.

At this point in time, you raised 2 pull request(s) of which 50% (1/2) have been merged.

jabref-machine avatar Sep 21 '26 08:09 jabref-machine

⏰ Assignment Reminder

Hi @raguramag7, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 4 days if there's no activity.

Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef. Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft pull request with your progress within 4 days
  • Asking for the 📌 Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar Sep 24 '26 12:09 github-actions[bot]

📋 Assignment Update

Hi @raguramag7, due to inactivity, you have been unassigned from this issue.

Next steps


If you still want to work on this:

  • Submit a pull request showing your current state. You will be automatically assigned again.
  • Ask a maintainer to assign you again.

github-actions[bot] avatar Oct 01 '26 12:10 github-actions[bot]

/assign-me

benbbj avatar Oct 04 '26 18:10 benbbj

👋 Hey @benbbj, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly. When using AI tools, please use them as an assistant rather than simply copying their output. See Don't paste the AI, please.. For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

In case you encounter failing tests during development, please check our developer FAQs!

Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

Happy coding! 🚀

jabref-machine avatar Oct 04 '26 18:10 jabref-machine

Hi @lenhard, @koppor! I picked this one up and would like to start working on it. Since the issue is from 2017, I'd like to make sure I go in the direction you want before I write any code.

Could you give me some advice on the following?

  1. Is page-level accuracy enough, or do you expect the exact position within the page to be targeted?
  2. Which PDF readers would you want covered in a first version?
  3. Is this feature still wanted? Since the issue is from 2017, I'd like to make sure it's still something you'd like to have in JabRef before I start.

@koushikkallamadi asked something similar in September and I don't think it got answered, so any pointers here would help. Thanks!

benbbj avatar Oct 07 '26 07:10 benbbj

Could you give me some advice on the following?

1. Is page-level accuracy enough, or do you expect the exact position within the
   page to be targeted?

It should be displayed in the middle of the page - or the page focussed if full page view is set.

2. Which PDF readers would you want covered in a first version?
  1. Internal PDF Viewer
  2. SumatraPDF
  3. Acrobat Reader
  4. Foxit PDF (if possible)
  5. Some of Linux (Okular?)
3. Is this feature still wanted? Since the issue is from
   2017, I'd like to make sure it's still something you'd like to have in JabRef
   before I start.

Yes, still nedd.

@koushikkallamadi asked something similar in September

Please provide a link to the question, otherwise hard to find.

(I found it at https://github.com/JabRef/jabref/issues/16585#issuecomment-5553115030 - and the answer could have been: "Choose one, try out" and "JabRef contribution is about code reading, thus this is on you - Start by using Ctrl+Shift+F")

koppor avatar Oct 07 '26 12:10 koppor

⏰ Assignment Reminder

Hi @benbbj, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 4 days if there's no activity.

Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef. Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft pull request with your progress within 4 days
  • Asking for the 📌 Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar Oct 11 '26 12:10 github-actions[bot]

Useful writeup about WYSIHYN support for descriptive page labels: https://pdfa.org/pdf-ux-page-labels/

ThiloteE avatar Nov 12 '26 13:11 ThiloteE

We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.

For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/17474.

github-actions[bot] avatar Nov 15 '26 20:11 github-actions[bot]