flathub / io.gitlab.librewolf-community

https://flathub.org/apps/details/io.gitlab.librewolf-community
15 stars 10 forks source link

Not able to download files #16

Open nful2 opened 1 year ago

nful2 commented 1 year ago

Distro - void linux. Using flatpak. Not able to download files. Trying to download JetBrainsMono font https://github.com/JetBrains/JetBrainsMono/releases/tag/v2.242

shellheim commented 7 months ago

someone close this?

beNiceFam commented 2 months ago

There is little information on the problem, but I may have something to add after experiencing something alike. Even with the default Flatpak permissions, LibreWolf seems to behave as such in desktop agnostic environments (I had this problem in i3-wm, but not on Gnome). This person who passed through a similar issue in i3 posted this on Reddit:

https://www.reddit.com/r/flatpak/comments/thip63/download_doesnt_work_on_firefox/

And looks like this Arch Wiki's entry briefly brings light on problems of users without a DE plus xdg eg. xdg-download (although, I admit, I do not fully understand the relation of xdg-open and xdg-run): https://wiki.archlinux.org/title/Desktop_entries

I can't say for sure, however, since this would require further tests. I did, though, find a Firefox user on Reddit being affected by a similar issue years ago. Could you, @nful2, mention the full setup you're running on? Perhaps this way I could discard or strengthen my hypothesis. Another different thought is that, for some reason, that is not an upstream bug. I tested Mullvad's permissions on LibreWolf, but the latter still did not function while the former did. This fact support that. Although it is important to notice that I think Mullvad is based on the LTS version of Firefox, so ideally we should test it on the latest Mozilla's browser. As a temporary solution, you could check the box Always ask you where to save files on Settings. This might not fix your problem directly, which I believe is related to the inability to select the download directory while running. But it's relevant to recall that it is not the most security-friendly measure.

beNiceFam commented 2 months ago

Hey, man. I avoid asking such questions, since they can be sometimes seem silly, but I sort of 'solved' my problem. I just went on Applications on Settings and selected Always ask on mailto. Did you try it, @nful2?

beNiceFam commented 1 month ago

Hey, I found the solution for my problem. I simply installed xdg-desktop-portal and xdg-desktop-portal-gtk (since Firefox UI is based on it) through Debian's repository. May anyone else try it?