Closed
Bug 237611
Opened 21 years ago
Closed 21 years ago
title improper If percent of downloading is 0%
Categories
(SeaMonkey :: Download & File Handling, defect)
SeaMonkey
Download & File Handling
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dantifer, Assigned: dantifer)
Details
Attachments
(1 file)
961 bytes,
patch
|
Biesinger
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040219
When you are downloading a very large file or the network is quite poor, the
percent of the downloading progress is 0% and remains 0% for a moment.then the
title of the progressdialog doesn't update until percent > 0%.
Of course this is not a big problem. but I think it is better to fix it.
Reproducible: Always
Steps to Reproduce:
1.set this.mPercent = -1; in the construction function.
2.
3.
Actual Results:
title updated properly.
Expected Results:
title updated properly.
Comment 1•21 years ago
|
||
I'm pretty sure I've seen this bug somehwere already...
Are you saying that doing "this.mPercent = -1;" fixes this bug?
Comment 2•21 years ago
|
||
Ah - that does indeed fix the bug. the reason is that setPercent checks if
aPercent != mPercent, and 0 == 0. so init'ing to -1 is the right fix.
Comment 3•21 years ago
|
||
Comment on attachment 153597 [details] [diff] [review]
in patch form
r=biesi
Attachment #153597 -
Flags: superreview?(bzbarsky)
Attachment #153597 -
Flags: review+
![]() |
||
Comment 4•21 years ago
|
||
Comment on attachment 153597 [details] [diff] [review]
in patch form
Sure. sr=bzbarsky. File a bug on firefox to decide whether this is relevant to
them, please.
Attachment #153597 -
Flags: superreview?(bzbarsky) → superreview+
Updated•21 years ago
|
Assignee: download-manager → dantifer.dang
Comment 5•21 years ago
|
||
Checking in nsProgressDialog.js;
/cvsroot/mozilla/embedding/components/ui/progressDlg/nsProgressDialog.js,v <--
nsProgressDialog.js
new revision: 1.40; previous revision: 1.39
done
No need to file a firefox bug - it doesn't use the progress dialog.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
OS: Windows 2000 → All
Hardware: PC → All
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•