srevinsaju / Firefox-Appimage

Mozilla Firefox Stable AppImages by Continuous Integration
MIT License
133 stars 13 forks source link

Cannot download files #23

Open suotroel opened 2 years ago

suotroel commented 2 years ago

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

It seems nobody cares. Mmmm....

srevinsaju commented 2 years ago

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

suotroel commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

IdolIcon commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

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:

File dialogs now work as expected! Hurrah! :tada: