Closed Bug 150208 Opened 24 years ago Closed 23 years ago

Download status doesn't stop

Categories

(Camino Graveyard :: General, defect, P4)

PowerPC
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
Chimera0.4

People

(Reporter: neilio, Assigned: mikepinkerton)

Details

Attachments

(1 file)

The nice, aqua status bar that slowly fills in the downloads status window doesn't stop "animating" when the download has actually completed. I believe this is new to 0.30 - I seem to remember it stopping in earlier builds.
I see this problem only after transfering a file using FTP protocol. Attaching a test case that has links for both HTTP and FTP. Progress indicator doesn't stop animating after ftp transfer is completed. As a comparsion, the animation stops after HTTP transfer is done.
This test case contains links that either HTTP or FTP to transfer file. I have noticed that the download progress animation does stop after has been completely transfered using FTP.
->pinkerton
Assignee: saari → pinkerton
Priority: -- → P4
Target Milestone: --- → Chimera0.4
I checked out the sample case. All this code is in ProgressDlgController.mm Using the FTP link, in nsDownloadListener::OnProgressChange, aMaxTotalProgress value is coming back (for this file) as 10973106. Unfortunately, nsDownloadListener::OnStatusChange is reporting that we're all done with the download when aCurTotalProgress (from OnProgressChange) is at 10956168. So, the progress bar keeps animating itself because it's aCurTotalProgress never quite equals aMaxTotalProgress. I don't know if there's a screwup in the FTP file download size calc, or if somehow for FTP downloads OnStatusChange gets called as "done" before OnProgressChange gets called with a report of the last few bytes being download, or something else entirely. Anyway, part of the newest patch for bug #143093 makes sure the progress bar thinks it's done when the download is finished, so you don't see this behavior.
this appears fixed with the other patch i landed this morning (143093)
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified using the 2002-06-28-05 NB.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: