flathub / org.jabref.jabref

https://flathub.org/apps/details/org.jabref.jabref
4 stars 1 forks source link

JabRef does not open files linked to entries #3

Closed i5qme2b944w3 closed 3 years ago

i5qme2b944w3 commented 4 years ago

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:

LyzardKing commented 4 years ago

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

i5qme2b944w3 commented 4 years ago

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

LyzardKing commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

This is the correct repo for flatpak-only issues.

bilelmoussaoui commented 4 years ago

@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 commented 4 years ago

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

i5qme2b944w3 commented 3 years ago

Thanks, the issue is resolved now.