We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox 'save picture as' function choses random directory

  • 2 个回答
  • 3 人有此问题
  • 13 次查看
  • 最后回复者为 marlukan

more options

FF 57.0.2 (Win 7 64bit)

'Save Image As' keeps changing the location it's saving the file. As I'm going through various pages and saving certain images, I notice that sometimes it saves where I'm expecting it to, (the location I most recently selected while saving an image), but very often, in the same session (meaning I haven't closed and restarted FF), it decides to change the location to a directory I've used earlier, instead of where it just saved the previous file.

I thought it might be a scenario something like, I open tabs 1 - 5, save images to location A. Then I save a file to location B, open up pages 6 - 10, save a file to location A again. At this point I expect that my files will default to location A, but maybe pages 6 - 10 now have location B associated with them and they will default there instead. I just tested that and that's not it.

It's also not extension (ie .jpg, .gif) that forces the change of location. I can't figure out what triggers it.

FF 57.0.2 (Win 7 64bit) 'Save Image As' keeps changing the location it's saving the file. As I'm going through various pages and saving certain images, I notice that sometimes it saves where I'm expecting it to, (the location I most recently selected while saving an image), but very often, in the same session (meaning I haven't closed and restarted FF), it decides to change the location to a directory I've used earlier, instead of where it just saved the previous file. I thought it might be a scenario something like, I open tabs 1 - 5, save images to location A. Then I save a file to location B, open up pages 6 - 10, save a file to location A again. At this point I expect that my files will default to location A, but maybe pages 6 - 10 now have location B associated with them and they will default there instead. I just tested that and that's not it. It's also not extension (ie .jpg, .gif) that forces the change of location. I can't figure out what triggers it.

被采纳的解决方案

The last used directory for the website (host) serving the file for download will be preselected in the file picker. If no download directory for the current website (host) has been stored, browser.download.lastDir will be used.

You can disable the feature to remember a host based download directory by creating a new Boolean pref on the about:config page with the name browser.download.lastDir.savePerSite pref and set its value to false.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

定位到答案原位置 👍 2

所有回复 (2)

more options

选择的解决方案

The last used directory for the website (host) serving the file for download will be preselected in the file picker. If no download directory for the current website (host) has been stored, browser.download.lastDir will be used.

You can disable the feature to remember a host based download directory by creating a new Boolean pref on the about:config page with the name browser.download.lastDir.savePerSite pref and set its value to false.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

First tests showed that that solution should have solved my problem. thank you !

Nevertheless Mozilla developers, this "store option" should be available in the common user's options menue.