Closed
Bug 22879
Opened 26 years ago
Closed 22 years ago
Download window should GetAttention when download is complete
Categories
(Core Graveyard :: File Handling, enhancement, P3)
Core Graveyard
File Handling
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.5alpha
People
(Reporter: mpt, Assigned: Biesinger)
Details
Attachments
(1 file)
1.59 KB,
patch
|
bzbarsky
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
The dialog box which shows the progress of a download should have a checkbox in
it, below the progress indicator:
[ ] Alert me when this download is complete
If the checkbox is checked during the download, then when the download is
completed an alert box should be shown, telling the user that the download is
complete.
The checkbox should be off by default, so that (unlike with IE) repeated very
short downloads do not cause annoying and unnecessary `Download complete'
messages. Typically, a user would only check the checkbox if they were
downloading a file which was going to take several minutes, and wished to do
some other work in Mozilla while the download was taking place.
Summary: Download window should contain alert-when-finished checkbox → [RFE] Download window should contain alert-when-finished checkbox
Target Milestone: M20
Comment 2•25 years ago
|
||
spam: moving qa contact on some bugs from paulmac to sairuh@netscape.com
QA Contact: paulmac → sairuh
Comment 4•25 years ago
|
||
Since Don has left, Vishy is taking his bugs in bulk, pending reassignment.
thanks,
Vishy
Assignee: don → vishy
nav triage team:
Don't think we'll get to this for beta1, marking nsbeta1-, reassigning to law
Assignee: vishy → law
Keywords: nsbeta1-
Comment 7•24 years ago
|
||
Let's put some information in the taskbar icon conveying how far the download
is (bug 36776), and then come back to see if this is necessary.
Comment 8•23 years ago
|
||
A very simple change would provide much of the benefit with "no" added complexity:
When the download is complete, (i.e. in the same function that writes "download
completed" in the dialog) also change the dialog box caption from "saving file"
to "download completed".
Comment 9•23 years ago
|
||
RE: comment #8
mozilla/embedding/components/ui/progressDlg/nsProgressDlg.js
61 // Indicate completion in status area.
62 var msg = getString( "completeMsg" );
63 msg = replaceInsert( msg, 1, formatSeconds( elapsed/1000 ) );
64 dialog.status.setAttribute("value", msg);
dialog.title = msg
//or maybe
dialog.setTitle(msg)
65
66 // Put progress meter at 100%.
I will do some more research to find out which is the correct syntax.
(And as soon as I can find this file in the install, I will even test it :-))
![]() |
||
Comment 10•23 years ago
|
||
The file's in chrome/toolkit.jar in the install
(content/global/progressDlg/nsProgressDlg.js inside the jar)
Comment 11•23 years ago
|
||
Please don't invest time working on that code. It is being replaced; see
comments in bug 27609 and the new code at
http://lxr.mozilla.org/seamonkey/source/embedding/components/ui/progressDlg/nsProgressDialog.js
That code does indicate completion in the title (i.e., "Saving foobar.zip (100%)").
Comment 12•23 years ago
|
||
But the percentage should be first so it's visible in the taskbar.
Comment 13•23 years ago
|
||
OK, I'll buy that (subject to complaints from other kibitzers). Can you make
that comment over in bug 27609 where the new progress dialog code is being reviewed?
Blake, you might want to have a look at the entire implementation of the dialog
so you can spot additional such stuff.
Reporter | ||
Comment 14•23 years ago
|
||
Mister Law, sir! I would like to retract this bug. It's silly, and I'm
embarrassed at having filed it. (In my defence, I was very young at the time.)
GetAttention was made for this sort of thing.
Comment 15•23 years ago
|
||
Does that mean you want to modify it to say: "Download window should 'get
attention' when download completes"?
Reporter | ||
Comment 16•23 years ago
|
||
Yep, that'd work. I'll add that when I next update the spec. Morphing summary.
Summary: [RFE] Download window should contain alert-when-finished checkbox → Download window should GetAttention when download is complete
Updated•23 years ago
|
QA Contact: sairuh → petersen
Comment 17•23 years ago
|
||
As far as I can tell, this already functions like this. Annoying too. I'll start
hundred meg downloads, go to play a game, and when the download is completed, I
get ripped out of whatever I'm doing to be told that the download is completed.
The work around for this is to check the 'close when completed' check box.
Reporter | ||
Comment 18•23 years ago
|
||
No, that would be a separate bug. GetAttention does(/should) not focus windows.
Assignee | ||
Comment 19•22 years ago
|
||
taking bug
Assignee: law → cbiesinger
Target Milestone: Future → mozilla1.5alpha
Assignee | ||
Comment 20•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #126779 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
![]() |
||
Comment 21•22 years ago
|
||
Comment on attachment 126779 [details] [diff] [review]
patch
r=bzbarsky
Attachment #126779 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•22 years ago
|
Attachment #126779 -
Flags: superreview?(jaggernaut)
Comment 22•22 years ago
|
||
Comment on attachment 126779 [details] [diff] [review]
patch
sr=jag
Attachment #126779 -
Flags: superreview?(jaggernaut) → superreview+
Assignee | ||
Comment 23•22 years ago
|
||
Checking in ui/progressDlg/nsProgressDialog.js;
/cvsroot/mozilla/embedding/components/ui/progressDlg/nsProgressDialog.js,v <--
nsProgressDialog.js
new revision: 1.29; previous revision: 1.28
done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•