group download progress signals have incorrect byte counts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-download-manager |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-download-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With the attached example file, I get this output:
SIGNAL: ('started', dbus.ObjectPath
PROGRESS: 0 of 0
PROGRESS: 0 of 0
PROGRESS: 4085 of 4085
PROGRESS: 4085 of 4085
PROGRESS: 48679 of 48679
FINISHED
The documentation says that the progress for a group download includes the totals for the entire group, but it appears as if:
1) I'm not getting any progress for the first file.
2) Each subsequent progress signal doesn't include the running total
Here's the results after running the script:
-rw-r--r-- 1 barry barry 836 Sep 16 16:19 /tmp/archive-
-rw-r--r-- 1 barry barry 4085 Sep 16 16:19 /tmp/channels.json
-rw-r--r-- 1 barry barry 44594 Sep 16 16:19 /tmp/index.json
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Mike McCracken (community): Approve
- Manuel de la Peña (community): Approve
-
Diff: 24 lines (+3/-2)1 file modifiedlibubuntudownloadmanager/group_download.cpp (+3/-2)
Changed in ubuntu-download-manager: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:ubuntu-download-manager at revision 123, scheduled for release in ubuntu- download- manager, milestone 0.3