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

Cannot download files #23

Open
suotroel opened this issue Aug 24, 2022 · 16 comments
Open

Cannot download files #23

suotroel opened this issue Aug 24, 2022 · 16 comments

Comments

@suotroel
Copy link

suotroel commented Aug 24, 2022

Since a couple or three versions ago I'm not able to download any files with FF-stable or FF-esr appimages.

I have no problems with LibreWolf appimage (another appimage derivative of FF-stable).

I'm running Debian-stable with Xfce.

@suotroel
Copy link
Author

suotroel commented Sep 5, 2022

It seems nobody cares. Mmmm....

@srevinsaju
Copy link
Owner

Weird, is probably out of the scope for this repository. You might want to raise a support ticket with GitHub instead

@suotroel
Copy link
Author

suotroel commented Sep 5, 2022

These FF-appimages are unable to save files or to open a bookmark's backup file. It seems that they are unable to reach a directory, unable to interact with the file system. It doesn't happen with regular FF or with LibreWolf.

@marc1uk
Copy link

marc1uk commented Nov 8, 2022

I'm also finding this. I have a few older AppImages, versio 87 is able to download files, but version 94 is not. Something seems to have changed between these two releases.

@srevinsaju
Copy link
Owner

Sorry I cannot reproduce this issue any more, can you please try the latest versions of firefox AppImages to see if this issue still exists?

@IdolIcon
Copy link

Can't you reproduce this issue? Why? None of you have a computer?

Well, don't worry, I've got one. And you know what? Surprise!! Your Firefox-ESR appimages are unable to download anything. Who could imagine it?

But I'm sure that in a couple or three months someone with no manners will come, he won't be polite, he won't be cool, he will be insulted, but in the end you will address the problem. It's just a matter of time...

@srevinsaju
Copy link
Owner

Since you are able to reproduce the issue, can you run the AppImage from the terminal to see if Firefox is generating any errors? If yes, I can investigate on them

@IdolIcon
Copy link

Done. There are no error messages.

It seems that the FF-esr appimage is unable to reach the file system. It's unable to download anything, but is unable to open anything from the file system as well: You select "open" and absolutely nothing happens.

@srevinsaju
Copy link
Owner

Thanks for testing, may I know which desktop environment you are using? Not sure if it is related. Also, do you have something like firejail installed?

To check if its related to some existing config, I tried this:

./firefox-esr.....AppImage --appimage-portable-home
./firefox-esr.....AppImage --appimage-portable-config 
./firefox-esr.....AppImage # which now uses the portable config folder and home 

but still the download works, the Downloads are now stored in ~/firefox-esr..../Downloads. Let me know if this approach works, if yes, we can narrow down the scope of the problem.

@IdolIcon
Copy link

IdolIcon commented Nov 23, 2022

Sparky Linux with Xfce or Linux Mint Debian Edition with Xfce. No firejail.

I tested some things:

A CLEAN 'installation' of the esr appimage works properly using the standard linux 'home' or with 'home' in the application directory (a 'firefox-esr.appimage.home' folder)

If I include my staff (my personal configuration, a lot of extensions, etc), the weird behaviour appears using both 'homes' (standard or in the app folder). No differences: it doesn't work properly.

It seems something related to an extension or similar BUT...

...but a regular installation of the standard FF-esr works PROPERLY with EXACTLY the same (my personal) configuration, extensions, etc.

Weird.

The same weird things can be observed with past versions of the regular firefox appimages, but the last one, your FF-107 appimage, works properly.

@srevinsaju
Copy link
Owner

By a regular installation, do you mean, those which are installed from the package manager for your distribution? Can you also test using the binary provided by firefox here: https://www.mozilla.org/en-US/firefox/all/#product-desktop-esr to see if the issue does not exist with this one?

I am wondering if the issue is related to the rewrite of many firefox features (esr-next to esr), which possibly broke some config.

@IdolIcon
Copy link

IdolIcon commented Nov 24, 2022

Done.

Debian's default FF is the ESR version. I installed it from Debian's repository, it worked properly when clean and with my complete configuration.

As you suggested, I downloaded the binary provided by Mozilla of FF-ESR as well. It worked properly clean and with my complete configuration.

@srevinsaju
Copy link
Owner

Ok, but the issue on latest Firefox ESR 102.5 AppImage still exists? Also do you use any appimage utilities like AppImageLauncher

@IdolIcon
Copy link

Yes, your last ESR appimage can't open or save anything with my configuration (it can do it when it is clean). But Mozilla's FF-ESR binary works properly with my configuration.

To open appimages I just use a launcher from my desktop panel (on the other hand, double click on the FF-esr appimage doesn't change its weird behaviour).

@marc1uk
Copy link

marc1uk commented Mar 31, 2023

Hi. I've tried with the latest version of the appimage (v111), with my current and a fresh profile, as well as starting firefox in safe mode (all extensions disabled etc). The issue persists.
When running from the terminal the following warning appeared when I tried to use File->Open:

(firefox:22209): Gtk-WARNING **: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files

@marc1uk
Copy link

marc1uk commented Mar 31, 2023

googled that error, seems it's a common thing with flatpaks/snaps/appimages. various suggestions:

  • installed xdg-desktop-portal and xdg-desktop-portal-gtk

neither of these alone or both fixed it, so not sure if they're needed. I left them installed.
What did then fix it (possibly in combination with above?) was:

  • set widget.use-xdg-desktop-portal.file-picker to 0 in the about:config in Firefox.

File dialogs now work as expected! Hurrah! 🎉

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

No branches or pull requests

4 participants