Closed Bug 2051041 Opened 10 days ago Closed 5 days ago

Downloads being deleted when "Remove from download history" option selected

Categories

(Firefox for Android :: Downloads, defect)

Firefox 152
All
Android
defect

Tracking

()

VERIFIED FIXED
154 Branch
Tracking Status
firefox152 + verified
firefox153 + verified
firefox154 + verified

People

(Reporter: jasonr9, Assigned: titouan)

References

(Regression)

Details

(Keywords: dataloss, regression, Whiteboard: [fxdroid][group4])

Attachments

(3 files)

Steps to reproduce:

Save/download a file(s) in Firefox Android with Settings>Download Settings>Remove from download history button selected. Select a file(s) from Downloads and hit delete. File type or method inside Firefox doesn't seem to matter.

Actual results:

File(s) will be deleted from both history and device.

Expected results:

File(s) should have be deleted only from history.

Severity: -- → S2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [fxdroid][group4]
Keywords: regression
Regressed by: 2005885
Assignee: nobody → tthibaud
Status: NEW → ASSIGNED
Flags: qe-verify+
Pushed by tthibaud@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bd1ba0ec7ac5 https://hg.mozilla.org/integration/autoland/rev/2bef9416df5c Make sure a completed download is not deleted from disk when user settings is "delete downloads from history only". r=android-reviewers,giorga
Flags: in-testsuite+
Attachment #9603473 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: User who have their Download settings deletion behavior set to "Remove from history only" have their files removed from their disk.
    This can create data loss for some users.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: - Download a file
  • Open the Downloads screen
  • Open the Downloads settings and make sure "Remove from download history" is selected
  • Go back to the Downloads screen and delete the last download
  • Wait until the download snackbar goes away
  • Open a files browser and make sure the downloaded file is still on the disk.
  • Risk associated with taking this patch: medium
  • Explanation of risk level: The patch has not backed in Nightly.
  • String changes made/needed?: No
  • Is Android affected?: yes
Attachment #9603474 - Flags: approval-mozilla-release?

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: User who have their Download settings deletion behavior set to "Remove from history only" have their files removed from their disk.
    This can create data loss for some users.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: - Download a file
  • Open the Downloads screen
  • Open the Downloads settings and make sure "Remove from download history" is selected
  • Go back to the Downloads screen and delete the last download
  • Wait until the download snackbar goes away
  • Open a files browser and make sure the downloaded file is still on the disk.
  • Risk associated with taking this patch: medium
  • Explanation of risk level: The patch has not backed in Nightly.
  • String changes made/needed?: No
  • Is Android affected?: yes
Status: ASSIGNED → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Duplicate of this bug: 2052094
Attachment #9603473 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9603474 - Flags: approval-mozilla-release? → approval-mozilla-release+

Verified as fixed on Nightly 154.0a1, Beta 153.0b9, and 152.0.5 dot release, using a Xiaomi Poco X7 Pro (Android 16), and a Samsung Galaxy Z Fold 4 (Android 16).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: