Comment 4 for bug 1348162

Revision history for this message
Charles Kerr (charlesk) wrote :

The percentages are coming from ubuntu-download-manager's com.canonical.applications.Download DBus objects.

When indicator-transfer sees a new Download object on the bus, it calls the object's progress() and totalSize() methods to get the numerator and denominator for the progress. It also listens to "progress" signals which provide both values together.

It's possible that this is a bug in ubuntu-download-manager, but it seems more likely that the bad numbers are coming from upstream of ubuntu-download-manager.

For indicator-transfer's part wrt the appearance of a menuitem when this happens, it should probably cap the percentage to 100% and not provide an ETA.