Closed Bug 2004989 Opened 7 months ago Closed 5 months ago

[Downloads path] Download file into the path taken from the Settings

Categories

(Firefox for Android :: Downloads, task)

All
Android
task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- verified

People

(Reporter: titouan, Assigned: giorga)

References

Details

(Whiteboard: [fxdroid][group4])

Attachments

(1 file, 1 obsolete file)

With Bug 2004986, the user can select the location where they want to download the new files.

In this bug, we want to use the path from the Settings for new downloads.

Blocks: 2004990
Blocks: 2004992
Assignee: nobody → giorga
Duplicate of this bug: 2006852
Duplicate of this bug: 2004992
Attachment #9537482 - Attachment is obsolete: true
Pushed by giorga@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/70321b0885eb https://hg.mozilla.org/integration/autoland/rev/36fbefb1ce85 [Downloads path] Download file into the path taken from the Settings. r=android-reviewers,android-addons-reviewers,tthibaud,android-l10n-reviewers,flod,robwu
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch

For QA, here is an STR:

  • Open the ThreeDot Menu > Downloads > Settings (top right icon)
  • Click the "Default download location" field
  • Select a folder in your local storage
  • Download a file

Expected result

  • The file should be downloaded successfully
  • If you open in a file manager the folder you've picked, you should see the file you've just downloaded

Other things to test
1)

  • From the Downloads settings, enable "Delete from Firefox Nightly and device"
  • Delete the file you've downloaded in the custom folder. Wait until the "Undo" snackbar disappears
  • With your file manager, make sure the file has indeed been removed
  • Pick a folder
  • With your file manager, delete this folder
  • Open Fenix, download a file.
  • Make sure it was downloaded successfully
  • Open the Download settings. The "Default download location" should be set to "~/Downloads"

If you think of anything else that should be tested after this change, feel free to test it too and to share it here (it can be useful for the next bugs, where we're extending support to External Storage and some Cloud Storage provider that appear in the native Android File Picker)

Thanks a lot in advance!

Flags: qe-verify+

Verified as implemented on the latest Firefox for Android Nightly 150.0a1 from 3/9 using an Oppo Find N2 Flip (Android 15), and a Pixel 6 (Android 16).

  • The created folder for downloads in the internal storage of the device is successfully populated when downloading files.
  • When "Delete from Firefox Nightly and device" is enabled, and the downloaded files are deleted, they are also deleted from the created folder.
  • When the created folder is deleted, the following downloads are saved in the default folder.
  • When "Delete from Firefox Nightly and device" is enabled, deleting a file from the specified location, the file is removed also from Firefox for Android.
Flags: qe-verify+
No longer blocks: 2021327
Regressions: 2049602
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: