Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Saving the page or a downloaded file does not work

  • 3 respostas
  • 0 têm este problema
  • 1 visualização
  • Última resposta por 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.

Solução escolhida

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.

Ler esta resposta no contexto 👍 0

Todas as respostas (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

Solução escolhida

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.