Closed Bug 1759390 Opened 3 years ago Closed 3 years ago

Last-save directory is remembered globally for all file types, not per file type

Categories

(Firefox :: File Handling, defect)

Firefox 98
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: raj, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

  1. Open some page containing a video (.mp4) file, save the video file to some directory X
  2. Open some page containing an image (.jpg) file, save the image to some directory Y
  3. Open another page containing a video (.mp4) file and try to save it

Actual results:

Firefox suggests the directory Y, ie. the last directory a .jpg file was saved to

Expected results:

Firefox should suggest the directory X, ie. last directory a .mp4 file was saved to.

This is the way it worked in previous versions of Firefox. The last-save directory was remembered per file type, ie. when I wanted to save a .mp4 file it suggested the directory where a .mp4 file was last saved, when I wanted to save a .jpg file it suggested the directory where a .jpg file was last saved etc. This was very useful. Now it seems to be one global last-save directory for all file types and Firefox always suggests the directory where the last file (regardless of its type) was saved.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Component: Audio/Video: Playback → File Handling
Product: Core → Firefox

(In reply to Jarosław Rafa from comment #0)

This is the way it worked in previous versions of Firefox.

It really wasn't... Source: I've been a Mozilla volunteer since 2004, and a Firefox desktop engineer since 2013, and I worked on the downloads changes that shipped with 98.

The last-save directory was remembered per file type,

It was not. There is logic to remember the directory per-site, ie based on the origin of the download site.

That logic was not used at all (ie we always used the same directory) for standalone images, and that was fixed in bug 1726801, which shipped in Firefox 98.

We're not going to add a per-filetype logic and somehow layer it on top of the per-site logic. It would be a nightmare to maintain and impossible for most users to understand.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
See Also: → 1726801
You need to log in before you can comment on or make changes to this bug.