Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

Saving the page or a downloaded file does not work

  • 3 svar
  • 0 har dette problem
  • 1 visning
  • Seneste svar af Darrell

more options

If I try to save the current page, by selecting Save Page As from the File menu or the right-click pop-up menu, nothing happens. Similarly, in a tab displaying a downloaded PDF, clicking on the folder icon that should save a copy of the file does nothing. No error indication that I can find, but the Save dialogue does not appear. The same operations work as expected in Chrome, so it doesn't appear to be a general problem with my system.

I really don't want to switch to Chrome as my primary browser, but not being able to save PDFs is a show stopper for me.

If I try to save the current page, by selecting Save Page As from the File menu or the right-click pop-up menu, nothing happens. Similarly, in a tab displaying a downloaded PDF, clicking on the folder icon that should save a copy of the file does nothing. No error indication that I can find, but the Save dialogue does not appear. The same operations work as expected in Chrome, so it doesn't appear to be a general problem with my system. I really don't want to switch to Chrome as my primary browser, but not being able to save PDFs is a show stopper for me.

Valgt løsning

I never found an actual solution to this problem; I tried purging and reinstalling the xdg-desktop-portal packages, and that didn't help. However, based on a hint I ran across in my searches, I removed the Ubuntu Firefox snap package and instead installed the deb version, and now Firefox can save files again.

The problem may have been caused by the way I've handled system upgrades over the years. As part of preserving the ability to boot back into the previous OS version, I've kept most of my user data on a separate partition, and a lot of the subdirectories in my home directory are symbolic links to that second partition. That included my preferred Firefox profile, and I suspect the problem originated with limitations on the snap package accessing files on a different partition.

Læs dette svar i sammenhæng 👍 0

Alle svar (3)

more options

Additional information: I tried starting Firefox from a terminal window, and when I click on Save Page As I get the following message:

Gtk-WARNING **: 20:52:50.462: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Portal operation not allowed: Child process exited with code 2

The presence of "file chooser" in this warning is very suggestive, but I have no idea what to do with it.

more options

On Linux this can be an issue with "xdg-desktop-portal" and you may have to install some packages like xdg-desktop-portal and xdg-desktop-portal-gtk. Whether to use gtk portal for the file picker. 0:never 1:always 2:auto (true for flatpak or GTK_USE_PORTAL=1, false otherwise)

more options

Valgt løsning

I never found an actual solution to this problem; I tried purging and reinstalling the xdg-desktop-portal packages, and that didn't help. However, based on a hint I ran across in my searches, I removed the Ubuntu Firefox snap package and instead installed the deb version, and now Firefox can save files again.

The problem may have been caused by the way I've handled system upgrades over the years. As part of preserving the ability to boot back into the previous OS version, I've kept most of my user data on a separate partition, and a lot of the subdirectories in my home directory are symbolic links to that second partition. That included my preferred Firefox profile, and I suspect the problem originated with limitations on the snap package accessing files on a different partition.