sync menu uses wrong upload size for percentages

Bug #1062729 reported by Mike McCracken on 2012-10-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Status tracked in Trunk
Stable-4-0
Undecided
Unassigned
Stable-4-2
Undecided
Unassigned
Trunk
Undecided
Diego Sarmentero
ubuntuone-client (Ubuntu)
Undecided
Unassigned
Quantal
Undecided
Unassigned
Raring
Undecided
Unassigned

Bug Description

In the status frontend in aggregator.py, the files_uploading() function generates a list of current uploads that is used by the sync menu code, both in platform/sync_menu and in controlpanel's systray.py

That function uses the upload.size instead of upload.deflated_size, resulting in inaccurate percentages when combined with actual (compressed) n_bytes_written.

Related branches

Changed in ubuntuone-client:
status: Confirmed → Fix Committed
dobey (dobey) on 2012-12-11
Changed in ubuntuone-client (Ubuntu Quantal):
status: New → Triaged
Changed in ubuntuone-client (Ubuntu Raring):
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 4.1.0-0ubuntu1

---------------
ubuntuone-client (4.1.0-0ubuntu1) raring; urgency=low

  * New upstream release.
    - Trap DBusException on ubuntuone-login startup. (LP: #711324)
    - Remove messaging menu integration. (LP: #820345)
    - Avoid KeyError during an Upload. (LP: #988534)
    - Ignore .lock files from synchronization. (LP: #1042268)
    - Avoid duplicate state tracking for sync menu. (LP: #1053631)
    - Add a separator between recent and current transfers. (LP: #1054259)
    - Search and filtering API for shares tab in control panel. (LP: #1056197)
    - Ensure Upload/Download objects have path attribute. (LP: #1061490)
    - Use correct file size for percentages in sync menu. (LP: #1062729)
    - Open shares tab from sync menu. (LP: #1063786)
    - Open the Ubuntu One folder from sync menu. (LP: #1063788)
    - Use correct glib method to launch control panel. (LP: #1065272)
    - Always use GI bindings in launch and login scripts. (LP: #1066943)
    - Show active downloads in transfers menu as well. (LP: #1067806)
    - Avoid duplicates in transfers menu. (LP: #1069953)
    - Do case-insenstive fuzzy filename matching. (LP: #1073664)
  * debian/watch:
    - Update to use stable-4-2 series for Ubuntu 13.04 releases.
 -- Rodney Dawes <email address hidden> Tue, 11 Dec 2012 17:05:43 -0500

Changed in ubuntuone-client (Ubuntu Raring):
status: Triaged → Fix Released
Adolfo Jayme (fitojb) on 2014-05-04
Changed in ubuntuone-client (Ubuntu Quantal):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers