Support opening of a pdf file at the position of an annotation
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.
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:
- Is there a specific PDF reader (or a small set of readers) you'd suggest starting with, to keep the initial scope manageable?
- 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!
/assign-me
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.
⏰ 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!
📋 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.
/assign-me
👋 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! 🚀
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?
- Is page-level accuracy enough, or do you expect the exact position within the page to be targeted?
- Which PDF readers would you want covered in a first version?
- 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!
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?
- Internal PDF Viewer
- SumatraPDF
- Acrobat Reader
- Foxit PDF (if possible)
- 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")
⏰ 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!
Useful writeup about WYSIHYN support for descriptive page labels: https://pdfa.org/pdf-ux-page-labels/
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.