downloads.download({saveAs:true}) does not remember recently used directory when prompting for save

NEW
Unassigned

Status

()

Toolkit
WebExtensions: Untriaged
P5
normal
9 months ago
4 months ago

People

(Reporter: mark, Unassigned)

Tracking

57 Branch
Points:
---

Firefox Tracking Flags

(firefox57- wontfix)

Details

(Whiteboard: [downloads])

(Reporter)

Description

9 months ago
When using downloads.download({saveAs:true}) the save dialog always starts in the default download folder.

When using "Save Image As..." context menu item, the save dialog remembers the last used directory per domain.

It would be nice if the downloads.download() method behaved similarly to "Save Image As..." when the saveAs prompt is requested.

In Foxy Gestures, I have a "Save Media As" gesture that is analogous to the "Save Images As...". The fact that downloads.download() does not remember the last used directory is annoying to my users. See https://github.com/marklieberman/foxygestures/issues/41.

Also, it would be nice if you could just provide a starting directory to downloads.download({saveAs:true,filename:'...'}) rather than having to specify a complete filename.
Status: UNCONFIRMED → NEW
Component: Untriaged → Downloads API
Ever confirmed: true
Product: Firefox → Toolkit
Version: 53 Branch → 55 Branch
[Tracking Requested - why for this release]:
IMO, downloads API would be useful to many web extensions and having to chose the downloads directory every single time is a very noticeable UX regression.

Feel free to untrack this for 57 if the feature request is not important enough.
status-firefox57: --- → affected
tracking-firefox57: --- → ?
Version: 55 Branch → 57 Branch
tracking-firefox57: ? → -
Andy, can you take a look at this and/or triage it in your next meeting (via https://groups.google.com/forum/?fromgroups=&hl=en#!topic/firefox-dev/_UDEcGpiLXQ ) ? Thanks!
Component: Downloads API → WebExtensions: Untriaged
Flags: needinfo?(amckay)

Updated

9 months ago
status-firefox57: affected → wontfix
Flags: needinfo?(amckay)
Priority: -- → P5

Updated

9 months ago
Whiteboard: [downloads]

Updated

4 months ago
Duplicate of this bug: 1431453
You need to log in before you can comment on or make changes to this bug.