[Windows] Allow drag and drop of symblinks
JabRef allows to drag and drop a .bib file to open it:
Also as new tab:
This is not possible with file shortcuts / *.lnk files:
But it should be possible, because JabRef can open the Shortcut.
Hi! I’m a student and I’m interested in contributing. May I work on this issue?
👋 Hey @mahmarani, looks like you’re eager to work on this issue — great! 🎉 It also looks like you don't know how to assign issues to yourself. Please read our CONTRIBUTING.md to find out how. It will also guide you in other aspects of contributing to JabRef.
/assign-me
👋 Hey @Carlos-Chong200, 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.
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 @koppor, I apologize for not assigning myself to this issue earlier! It seems like a pure coincidence of timing.I’ve been working on a local implementation over the last couple of hours and just finished verification as the issue was being assigned.
@Carlos-Chong200, I’m really sorry about the overlap! I’ve actually gone ahead and implemented a PowerShell based resolution in FileUtil so that the .lnk target is correctly resolved to the actual .bib file before the app tries to open it. This prevents the binary parsing errors that occur when the system treats a .lnk file as plain text.
Is it alright if I submit the PR, you can possibly review it and let me know your thoughts... Sorry for the inconvenience again
Hi @koppor, I apologize for not assigning myself to this issue earlier! It seems like a pure coincidence of timing.I’ve been working on a local implementation over the last couple of hours and just finished verification as the issue was being assigned.
@Carlos-Chong200, I’m really sorry about the overlap! I’ve actually gone ahead and implemented a PowerShell based resolution in FileUtil so that the .lnk target is correctly resolved to the actual .bib file before the app tries to open it. This prevents the binary parsing errors that occur when the system treats a .lnk file as plain text.
Is it alright if I submit the PR, you can possibly review it and let me know your thoughts... Sorry for the inconvenience again
No problem at all!
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/15053.
Does not work on latest main
Update: Works if the linked file exists