UploadFileProgress and DownloadFileProgress signals are not sent
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Client | Status tracked in Trunk | |||||
| Stable-4-0 |
Undecided
|
Unassigned | |||
| Trunk |
Medium
|
Unassigned | |||
| Ubuntu One Indicator |
New
|
Undecided
|
Unassigned | ||
| ubuntuone-client (Ubuntu) |
Undecided
|
Unassigned | |||
| Quantal |
Undecided
|
Unassigned |
Bug Description
STR:
1. Set up dbus-monitor --session member=
2. Upload a file larger than 64K to the web interface, but less than 63 MiB
3. Wait for it to sync to local storage
4. Check the monitor
Expected results:
Information about file download progress
Actual results:
Nothing
The same goes for UploadFileProgress.
Reason #1:
# progress threshold to emit a download/upload progress event: 64Kb
TRANSFER_
This sets TRANSFER_
Reason #2:
When #1 is fixed the following check is made in action_queue.py:
if n_bytes_
return
That checks previous reading for file handle and the difference most likely will never get more than threshold. The progress between two notification points should be tracked instead of two adjacent points.
More investigation is required for DownloadFilePro
Related branches
- Natalia Bidart: Approve on 2012-09-17
- Manuel de la Peña (community): Approve on 2012-09-17
-
Diff: 34 lines (+3/-3)2 files modifiedubuntuone/syncdaemon/action_queue.py (+1/-1)
ubuntuone/syncdaemon/interaction_interfaces.py (+2/-2)
Changed in ubuntuone-client: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+) |
description: | updated |
Facundo Batista (facundo) wrote : | #1 |
Changed in ubuntuone-client: | |
status: | Confirmed → Fix Committed |
Changed in ubuntuone-client (Ubuntu Quantal): | |
status: | New → Triaged |
milestone: | none → ubuntu-12.10-beta-2 |
Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package ubuntuone-client - 3.99.92-0ubuntu1
---------------
ubuntuone-client (3.99.92-0ubuntu1) quantal; urgency=low
* New upstream release.
- Include a 256x256 size version of our app icon. (LP: #537075)
- Merge in updated translations from Ubuntu to upstream source.
- Fix sending of Upload and Download FileProgress signals. (LP: #675065)
- Remove building of vapi file from gir.
* debian/
- Remove vapi related files.
-- Rodney Dawes <email address hidden> Wed, 19 Sep 2012 22:39:40 -0400
Changed in ubuntuone-client (Ubuntu Quantal): | |
status: | Triaged → Fix Released |
Fixed reason 1, the reason 2 was fixed already.