Closed
Bug 1862360
Opened 2 years ago
Closed 2 years ago
Both records in 'about:downloads' page show as 'Completed' after deleting and redownloading a file
Categories
(Firefox :: Downloads Panel, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: buglinking, Unassigned)
References
Details
Attachments
(1 file)
|
5.65 MB,
video/quicktime
|
Details |
[Affected versions]:
- Firefox 119.0 (64-bit)
[Affected platforms]:
- Mac 14.0 (23A344)
[Steps to reproduce]:
- Download a file (ex: www.africau.edu/images/default/sample.pdf)
- Navigate to 'about:downloads' page
- Click "Show in Finder" button
- Right click on downloaded item
- Delete the downloaded item
- Download the same file again (ex: www.africau.edu/images/default/sample.pdf)
- Switch back to 'about:downloads' page
- Click the 'Reload current page' button
[Expected result]:
- The status of the first downloaded item is 'File moved or missing'; The status of the second downloaded item is 'Completed'.
[Actual result]:
- The status of the first downloaded item is 'Completed'; The status of the second downloaded item is 'Completed'.
Comment 1•2 years ago
|
||
Both download items point to the same physical file on disk, why should they differ?
The system is based on:
- history information. This has nothing about the download state, it's just bare history plus the local file target
- session information (from downloads.json), this is tracking in progress downloads, and as soon as a download is complete it gets removed.
- file status, this just depends on the local file status
It's clear that once 2 is removed (download complete) and file status is restored, the old download will look like a normally completed download.
While one could make a case that cronological happenings are not preserved, I don't see a use-case for that, nor an obvious user benefit.
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•