Closed Bug 146960 Opened 22 years ago Closed 21 years ago

Download manager fails on resume

Categories

(Core Graveyard :: File Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 150353

People

(Reporter: rn214, Assigned: law)

References

()

Details

1)Start a download (eg MozillaRC3)
2)Let it get perhaps half way
3)Choose suspend (in order to browse something else for a moment at full speed).
4)A few mins later, choose resume.
5)The download will resume, and then shortly afterwards, the download will die,
the window will exit without an error message, having *failed* to complete.
6)Try to start the download again, and Moz fails to detect that the file that
already exists is a partially completed download.
7)Curse, and use another download program!
-> File Handling, the description mentions "...window will exit...", indicating
that normal download windows are used.
Assignee: blaker → law
Component: Download Manager → File Handling
WFM with trunk 2002073022, linux. reporter (Richard Neill): can you reproduce
this bug with a recent build of mozilla (for example, 1.1beta)? if so, please
comment again with details. if not, please resolve this bug as WORKSFORME. thanks.
Richard Neill here, and I'm afraid that it *still* doesn't work. I'm now using
1.1 beta (2002072204) on Linux-Mandrake 8.2. (If relevant, I'm on a dial-up
connection). This is a way to reproduce the bug with the new download manager:

1)Start a big download (eg Mozilla)
2)Let it get part way done.
3)Download Manager -> Properties. Then click pause. 
4)Choose suspend 
5)A few mins later, choose resume.
6)The download will resume, and then a few sec later afterwards, the download
will die, the window will exit without an error message, having *failed* to
complete. The download manager will report the file size of the full file as
downloaded, but ls -lh will give a much lower true size of the file.
QA Contact: sairuh → petersen
On 1.2.1, if you pause a download and then close the properties window for the
paused download, the next time you open the window you would expect the button
to show 'Resume'. Instead, it shows 'Pause'. Any paused download cannot be resumed.

My platform: W2K SP3. So, it is not only Linux.
Reporter: Can you reproduce this bug with a recent build of Mozilla (for
example, 1.4 RC1)? If so, then please comment again with details. If not, then
please resolve this bug as WORKSFORME. Thanks.
Yes, I can still reproduce it with Mozilla 1.3, but it's slightly less severe:

This works (it previously didn't):
1)Click link for large file, choose save
2)Pause Download Manager
3)Resume Download Manager

This fails:
1)Click link for large file, choose save
2)Pause Download Manager
3)Go offline
4)Go online
3)Resume Download Manager -> it will fail
@reporter 
Please a more newer build like the mentioned 1.4RC1 or one of the nightly builds
(or waiting for 1.4 final).
Yes, it still happens with 1.4rc1.

Normal pause/resume of a download is fine, but if you go offline and then back
online while paused, then when you resume, the download manager window just quits.

Richard
@reporter

there are fixes in 1.4final ... does the problem still exist?
Do you go offline and have mozilla open or does the problem occures on closing
and restarting mozilla?
Re #9,
I was (always) just going offline with mozilla still open.
Also, in 1.4 final, the behaviour is different to 1.4 rc1, but it's still broken.

What now happens is:

1)Start Downloading    (OK)
2)Pause                (OK)
3)Go offline           (OK)
4)Go Online            (OK)
5)Resume               (fails)

In 1.4rc1, the download window would instantly disappear at this point. In 1.4
final, it simply doesn't make any further progress with the download. It remains
stalled.
The bug also exists on Mozilla 1.4 and Mac OS X 10.1.5.

Resume will do nothing, if the computer has been in sleep mode before resuming.
Pause/Resume only works if the computer is always on and connected to Internet
while a download is paused.

My computer is connected to internet with ADSL. The computer will get the same
IP number after sleep.

A firewall is active in OS X.

*** This bug has been marked as a duplicate of 150353 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.