Closed Bug 1584776 Opened 4 months ago Closed 4 months ago

Taskbar progress should be indeterminate if all downloads have unknown size

Categories

(Firefox :: Downloads Panel, defect, P3)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
Firefox 71
Tracking Status
firefox71 --- fixed

People

(Reporter: mhowell, Assigned: mhowell)

Details

Attachments

(1 file)

For downloads that have no known final size (e.g., no Content-Length header was provided), the download progress bar shown in the panel will be in the indeterminate state. This makes sense and matches expectations.

However if all (one or more) in progress downloads have no known final size, the taskbar progress bar always appears to be full, which is a confusing result. It should be indeterminate as well in this case.

The root issue keeping this from working is that the DownloadSummary doesn't
provide any indication that downloads have unknown size, so most of the
changes in this patch are to give it that capability (with tests). Using that,
making the taskbar progress indeterminate is a simple change.

Priority: -- → P3
Pushed by mhowell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dff0c36744a1
Support displaying indeterminate download progress in the taskbar. r=mak
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
QA Whiteboard: [qa-71b-p2]
You need to log in before you can comment on or make changes to this bug.