-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External files do not open anymore (Windows 10) #6863
Comments
I can confirm all of the above. JabRef 5.1--2020-08-30--e023aa0 |
Check your settings for the file directories. |
The settings for default file directories were empty. Setting general or user-specific file directory worked. I can open files directly from JabRef again. |
It's a nasty bug which somehow slipped into the 5.1 release. |
Can you please specify, which settings are you talking about? |
@podkop See the help on the file directories: https://docs.jabref.org/finding-sorting-and-cleaning-entries/filelinks#directories-for-files |
@Siedlerchr Thanks a lot, got it. I guess it is clear that option "Search and store files relative to library file location" should be switched on by default for compatibility with previous versions. There is a related issue. Links to files where the absolute path is given do not work. I guess they worked before 5.0. Maybe this functionality was removed intentionally. However, I know a use case where having absolute links to files would be convenient. In order to make absolute links work, it would be enough to check if the full file name starts with the drive letter or slash, and do not prepend the main directory if yes. Do you think it is worth creating new issue? |
…ile" to true (#6928) * Fixes #6863 * CHANGELOG.md * Reworded bibLocationAsPrimary to reflect real meaning of the preference setting, changed default val to true * Cleanup of deprecated methods LinkedFiles(String, String, String) and List<String> getFileDirectories(...) * Reworded package filelist to linkedfile * Fixed SpringerFetcher
JabRef version 5.1--2020-08-30--e023aa0
Windows 10 10.0 amd64, Java 14.0.2
After updating JabRef from 5.0 to the newest version downloaded from here: https://www.fosshub.com/JabRef.html ("JabRef Windows Installer"), external files linked to the bibliography entries do not open anymore. Everything worked with the same bib file in the previous JabRef version.
The same behavior was also observed for latest development version (JabRef-5.2.msi, 2020-09-03 13:04, 178.9 MB, JabRef 5.2--2020-09-03--1283f9f).
Steps to reproduce the behavior:
The file name appears in the "File" field, the "Open file" icon appears near the entry, but the corresponding functionality does not work as described above.
Below is an example of a bibliography entry (among tens of entries in my bibliography file, all having links to pdf files, none of them work). The entry has two links to a same pdf file. The first one is relative, it was added in a previous version of JabRef, and worked as expected in the previous version. The second link is absolute, it was added in the current version of JabRef. None of the links work; the described behavior applies to both of them.
The text was updated successfully, but these errors were encountered: