Skip to content
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

JabRef does not open files linked to entries #3

Closed
i5qme2b944w3 opened this issue Sep 28, 2020 · 9 comments · Fixed by JabRef/jabref#7037
Closed

JabRef does not open files linked to entries #3

i5qme2b944w3 opened this issue Sep 28, 2020 · 9 comments · Fixed by JabRef/jabref#7037

Comments

@i5qme2b944w3
Copy link

Telling JabRef to open a file (pdf, djvu, etc.) linked to an entry gives no response.

Expected response is an "Open with..." dialog, presumably using the xdg-desktop-portal service for Flatpak, so that the user can select an application outside of JabRef's sandbox to open the file.

Additional info:

  • I'm using Debian 11, with KDE Plasma 5.17.5 desktop environment.

  • I've tried using both relative and absolute file paths in entries, and neither work.

  • JabRef installed from Snap instead of Flatpak successfully uses the expected "Open with..." dialog. So does Zotero installed from Flatpak. So as far as I can tell, the problem isn't with my xdg-desktop-portal setup, but I could be wrong.

  • Telling JabRef to open URLs or DOIs succeeds: they are opened directly in my web browser, with no "Open with..." dialog first.

@LyzardKing
Copy link
Collaborator

@i5qme2b944w3
Is it the flatpak that has this issue? Does the snap package work properly?

@i5qme2b944w3
Copy link
Author

It's the flatpak that has this issue; the snap package works properly. Sorry for the ambiguity.

@LyzardKing
Copy link
Collaborator

Not a problem! Thanks for opening the issue!
I mainly use the snap package, but I'll have a look at the flatpak.
If you find more issues between the two please let us know!

@LyzardKing
Copy link
Collaborator

@bilelmoussaoui
Sorry to ping you for this one, but do you have any idea on what is needed?
The files are in a subdirectory of /home//, so I was under the impression that filesystem=home would be enough.
Is a different runtime needed (i.e. the gnome one) to enable the xdg desktop integrations?

@i5qme2b944w3
Copy link
Author

Just to check: was this the right place to open this issue? Or should I have opened it at the main JabRef repository?
I ask because I've spotted another issue with the flatpak package, and want to open it in the right place.

@LyzardKing
Copy link
Collaborator

This is the correct repo for flatpak-only issues.

@bilelmoussaoui
Copy link
Member

@bilelmoussaoui
Sorry to ping you for this one, but do you have any idea on what is needed?
The files are in a subdirectory of /home//, so I was under the impression that filesystem=home would be enough.
Is a different runtime needed (i.e. the gnome one) to enable the xdg desktop integrations?

How are you opening the file?

@LyzardKing
Copy link
Collaborator

This will be solved with the linked PR.
In flatpak we cannot use xdg-open, but the java awt desktop integration still works.

@i5qme2b944w3
Copy link
Author

Thanks, the issue is resolved now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants