Closed Bug 316071 Opened 19 years ago Closed 15 years ago

Software Update progress bar updates in 300k chunks, making it look stalled for dialup users

Categories

(Toolkit :: Application Update, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: marcia, Assigned: florian)

Details

Attachments

(1 file)

Picked up as a comment from Asa's blog:

"One thing i did notice is the update shows progress in 64kb blocks. This is a minor nuisance, because on dialup it looks like it has stalled."

So it looks as if the software update experience for dialup users could be improved so that it doesn't look like it has stalled.
OS: MacOS X → All
Hardware: Macintosh → All
Summary: Software Update Dialup experience is not optimal → Software Update progress bar updates in 64k chunks, making it look stalled for dialup users
Product: Firefox → Toolkit
Since bug 352853 was fixed, the size of the chunks is 300kB.

With the slow DSL connection I have here, it means that the progress b
Version: 1.8.0 Branch → Trunk
(In reply to comment #1)
(sorry, I hit tab and space, it sent the comment while I was typing...)

> With the slow DSL connection I have here, it means that the progress b
ar is updated only every 10 seconds or so.
Attached patch Patch v1Splinter Review
This patch makes nsIncrementalDownload call onProgress when new data is available instead of when a chunk is completely received. It will notify of progress at most twice a second, which seems a reasonable frequency to update the progressbar in the UI.

For users with very fast connections, it may reduce the total number of progress notifications, as previously if several chunks were received at once, onProgress was called several times in a row.
Assignee: nobody → florian
Attachment #383105 - Flags: review?(cbiesinger)
Attachment #383105 - Flags: review?(cbiesinger) → review+
http://hg.mozilla.org/mozilla-central/rev/ef294ff168be
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Summary: Software Update progress bar updates in 64k chunks, making it look stalled for dialup users → Software Update progress bar updates in 300k chunks, making it look stalled for dialup users
Target Milestone: --- → mozilla1.9.2a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: