Open Bug 270841 Opened 20 years ago Updated 2 years ago

cannot pause download of attachment; canceling still saves part of a file

Categories

(Thunderbird :: Message Reader UI, defect)

x86
Linux
defect

Tracking

(Not tracked)

People

(Reporter: bugzilla, Unassigned)

References

Details

found using 2004111906-0.9 on linux fc2.

0. I've got a large attachment on one of my mail messages (1.6MB .pdf file).

1. context-click the file name in the attachment pane and select "save as."

2. in the resulting filepicker, select a destination (I chose a subdirectory
under my home dir) and click "save."

3. in the resulting download progress dialog do either of the following:

a. hit the "pause" button.
b. hit the "cancel" button.

results:

a. clicking "pause" changes that button to "resume," but the download continues
till about ~65% complete, then the dialog goes away. (not giving you a chance to
resume the d/l.) there's also a partial file in the destination dir. I get the
following in the js console:

Error: [Exception... "Component returned failure code: 0x80004001
(NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.suspend]"  nsresult: "0x80004001
(NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame ::
file:///home/sairuh/thunderbird-bits/2004111906-0.9/thunderbird/components/nsProgressDialog.js
:: anonymous :: line 767"  data: no]
Source File:
file:///home/sairuh/thunderbird-bits/2004111906-0.9/thunderbird/components/nsProgressDialog.js
Line: 767

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.suspend]"  nsresult:
"0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame ::
file:///home/sairuh/thunderbird-bits/2004111906-0.9/thunderbird/components/nsProgressDialog.js
:: anonymous :: line 767"  data: no]

b. clicking "cancel" dismisses the dialog. but when I look in the destination
dir, the file (part of it, not the whole thing) is still there --and it persists
after I quit tbird (just like in (a)). this scenario yields this js error:

Error: Math is not defined
Source File: chrome://global/content/bindings/progressmeter.xml
Line: 27
Flags: blocking-aviary1.0?
Would be good to find out if this is cross platform.  Sarah: can you try this
again on Windows and mac and report back? thanks.
Flags: blocking-aviary1.0?
Flags: blocking-aviary1.1?
Version: unspecified → 1.0
we won't be supporting pause and resume in 1.1. not sure when we'll try to do
that (if we do)
Flags: blocking-aviary1.1? → blocking-aviary1.1-
This bug also exist in SunOs
Thunderbird version 1.5 (20060327)

a. hit the "pause" button.
b. hit the "cancel" button.

Actual results:

a.clicking "pause" changes that button to "resume," but the download continues
till about ~72% complete, then the dialog goes away. (not giving you a chance to
resume the d/l.) there's also a partial file in the destination dir. I get the
following in the js console:

Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXULRuntime.XPCOMABI]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: file:///usr/sfw/lib/thunderbird/components/nsUpdateService.js :: anonymous :: line 1689"  data: no]
Source File: file:///usr/sfw/lib/thunderbird/components/nsUpdateService.js
Line: 1689

Error: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIObserver.observe]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: file:///usr/sfw/lib/thunderbird/components/nsProgressDialog.js :: anonymous :: line 775"  data: no]
Source File: file:///usr/sfw/lib/thunderbird/components/nsProgressDialog.js
Line: 775

b. clicking "cancel" dismisses the dialog. but when look in the destination
dir,he file (part of it, not the whole thing) is still there.
QA Contact: general
Assignee: mscott → nobody
Component: General → Message Reader UI
QA Contact: general → message-reader
Version: 1.0 → unspecified
See Also: → 21829
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.