Closed Bug 1876806 Opened 2 years ago Closed 2 years ago

Downloaded files in private tabs get deleted after deleting browsing data

Categories

(Firefox for Android :: Downloads, defect)

Firefox 124
All
Android
defect

Tracking

()

VERIFIED FIXED
124 Branch
Tracking Status
firefox122 + fixed
firefox123 + verified
firefox124 + verified

People

(Reporter: rilele_1, Assigned: amejia)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [foundation][fxdroid])

Attachments

(2 files)

Steps to reproduce:

  1. Open a private tab
  2. Go to https://www.mozilla.org
  3. Long tab on a picture and select "Save image"
  4. Open the settings
  5. Tab on "Delete browsing data"
  6. Ensure all checkboxes are checked, then tab on "Delete browsing data"

Actual results:

The picture from 3. is not in the downloads folder. It gets created at 3. but gets deleted at step 6.

Expected results:

The picture from 3. should be in the downloads folder.

Version: Trunk → Firefox 124

I'm using Firefox Nightly 124.0a1 (Build # 2015999783) on Android 14 on a Google Pixel 6a.
The bug does happen with all downloaded files, not just images.

Assignee: nobody → amejiamarmol

Going to look at reverting the regressor in 122 and getting a fix in time for 123

Setting 122 as Fixed, the regressor was backed out of the 122 branch.
Fenix/Focus 122.1.0 will ship with this bug fixed.
A follow-up fix will need to land in time for Fx123, or we should also consider reverting there before building 123.0 RC.

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Authored by https://github.com/Amejia481
https://github.com/mozilla-mobile/firefox-android/commit/a1f24fffc970a95be76c2e06ed75061989b6f417
[main] Bug 1876806 - Do not remove downloaded files in private tabs after deleting browsing data

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Flags: qe-verify+

Please request uplift on the fix once you have it verified by QA, thanks!

Flags: needinfo?(amejiamarmol)

Hi Rilele, would you mind verifying if the issue is addressed on Firefox for Android Nightly

Thank you in advance!

Flags: needinfo?(amejiamarmol) → needinfo?(rilele_1)
Whiteboard: [foundation][fxdroid]

Comment on attachment 9379013 [details] [review]
[mozilla-mobile/firefox-android] Bug 1876806 - Do not remove downloaded files in private tabs after deleting browsing data (backport #5461) (#5525)

Beta/Release Uplift Approval Request

  • User impact if declined: Files downloaded on private mode, will be deleted when users click "deleting browsing data"
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): We are just preventing files to get deleted, when users click "deleting browsing data" on private mode.
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9379013 - Flags: approval-mozilla-beta?

I can't reproduce the bug anymore, so it seems fixed. (with 124.0a1 (Build #2016002087))

Flags: needinfo?(rilele_1)

Thank you so much, for verifying!

Comment on attachment 9379013 [details] [review] [mozilla-mobile/firefox-android] Bug 1876806 - Do not remove downloaded files in private tabs after deleting browsing data (backport #5461) (#5525) Approved for 123 beta 9, thanks.
Attachment #9379013 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Authored by https://github.com/mergify[bot]
https://github.com/mozilla-mobile/firefox-android/commit/1d945e0a3743cb8b8c456396a7320094113b9182
[releases_v123] Bug 1876806 - Do not remove downloaded files in private tabs after deleting browsing data (backport #5461) (#5525)

Verified on the latest Nightly 124.0a1 (from 2024-02-12) and on the latest Beta 123.0b9 builds.
The downloaded files are kept in the downloads folder after downloading it in private browsing and deleting browsing data.
Device used: Samsung Galaxy S23 Ultra (Android 14).
Marking the ticket as verified.

Status: RESOLVED → VERIFIED
Regressions: 1877881
See Also: → 1790641
See Also: → 1952323
See Also: 1952323
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: