Closed
Bug 131762
Opened 23 years ago
Closed 23 years ago
Can open multiple occurrences of Download Manager
Categories
(SeaMonkey :: Download & File Handling, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: deanis74, Assigned: bugzilla)
References
Details
(Whiteboard: [adt2 RTM]custrtm-)
Attachments
(1 file, 2 obsolete files)
|
2.29 KB,
patch
|
bugzilla
:
review+
bugs
:
superreview+
jud
:
approval+
|
Details | Diff | Splinter Review |
1. Tasks > Tools > Download Manager
2. Tasks > Tools > Download Manager
Expected Results: Download Manager window is activated
Actual Results: a second DM window is opened
2002031803 on Win2K
Comment 1•23 years ago
|
||
Marking dependency on the "Opening content in an existing window with
window.openDialog fails to send arguments"; if that bug is not fix we'll have to
reuse the hack we do for the preferences window or something...
Depends on: 25040
| Assignee | ||
Comment 2•23 years ago
|
||
attaching a fix for this that also adds a preference panel with a pref:
When starting a download
() Open download manager
() Open progress dialog
() Don't open anything
| Assignee | ||
Comment 3•23 years ago
|
||
| Assignee | ||
Comment 4•23 years ago
|
||
Attachment #74892 -
Attachment is obsolete: true
Comment 5•23 years ago
|
||
Attachment #74892 -
Flags: superreview+
Comment 6•23 years ago
|
||
Comment on attachment 74893 [details] [diff] [review]
the whole fix
r=el guapo
Attachment #74893 -
Flags: review+
Updated•23 years ago
|
Component: File Handling → Download Manager
Comment 7•23 years ago
|
||
Comment on attachment 74893 [details] [diff] [review]
the whole fix
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
and bringing ben's sr= forward
Attachment #74893 -
Flags: superreview+
Attachment #74893 -
Flags: approval+
| Assignee | ||
Comment 8•23 years ago
|
||
fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 9•23 years ago
|
||
cc'ing jatin because some new UI was added. let me know if you need help
understanding any of it. (the wording I quoted earlier isn't exactly what's
used in the panel.)
Comment 11•23 years ago
|
||
I think some of this was a mistake.
There's no way to dismiss the progress dialog on the Mac now. And it isn't
obvious that the semantics of the progress dialog should change if the user
chooses to "open progress dialog" in prefs.
I believe there needs to be more discussion before changing the fundamental
behavior of closing the progress dialog.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 12•23 years ago
|
||
I discussed this with Marlon before checking in. He thought we should do what I
did but present a question, "Do you want to cancel this download?" when closing
the progress dialog. I am more or less in favor of that idea, and was going to
do it in a separate bug. Perhaps he also meant for me to remove the Cancel
button if the user chooses to Open a Progress Window when downloading, I will
ask him. I don't think either of us realized that this would prevent closure on
mac. What do you think?
| Reporter | ||
Comment 13•23 years ago
|
||
Hrm... The original problem that I reported is fixed, though. Shouldn't the
problem you mention be a new bug?
| Assignee | ||
Comment 14•23 years ago
|
||
> And it isn't obvious that the semantics of the progress dialog should change if
> the user chooses to "open progress dialog" in prefs.
Wait, are you describing current behavior or just shooting down a possible
solution? The behavior I see right now is that the dialog never has a Cancel
button. So there's no inconsistency, although there is, as you note, a problem
on Mac. I'm going to start a newsgroup discussion about this and ask Marlon if
he has any time to hash out a quick (formal) spec for this behavior.
Comment 15•23 years ago
|
||
I had an idea that you can hash on, we should just bring up the window.. and if
you wanna find out some more info on a download you hit properties.. like it
does, but you could make it so that you can close that individual dialog again
if you hit properties (does that work?, or no) Or add a close dialog button
which doesn't cancel the download.. just closes down the dialog. and focuses the
window that is open. if that is not possible (create some tab like context menu
for it) I'd rather look at my Download Window feature than those dialogs.
My view here is that I'd like to see the Window first and only.. if I have a
problem with a download I hit properties..
but I should be able to close a properties dialog if the download keeps going in
the Window, right? If so, there should be a context menu that have the same
items on them as there are buttons like in the download dialogs.
Other wise I just see this as just useless If I have to keep each download
dialog open. point is like I said, I dont wanna look at them now that we have
the download manager. Since I've not expressed my thoughs, A big thanks goes
out to blake and bill for this feature landing, its cool.
| Assignee | ||
Comment 16•23 years ago
|
||
Dennis: have you used today's nightly? It should do just what you want by
default (and it's configurable via Navigator > Downloads). But I've backed it
out for now until we discuss it fully.
Comment 17•23 years ago
|
||
re: comment 12
>What do I think?
* Closing a progress dialog opened to view download manager properties shouldn't
cancel the download (not by default, maybe not ever).
* Closing a progress dialog opened directly as the result of starting a download
should cancel the download (by default, maybe all the time), since that's the
way it has always worked.
* Closing a progress dialog should always do the same thing, regardless of how
it was opened, otherwise the user won't know what it will do and will curse us
whenever it does the wrong thing.
In other words, I think we're between a rock and a hard place.
Comment 18•23 years ago
|
||
re: comment 14
>Wait, are you describing current behavior or just shooting down a possible
>solution?
I'm not sure. Are those my only two choices? What I was trying to say was that
if a user chocses "open progress dialog," then they might expect that dialog to
offer some way of cancelling the download, and further, might well expect
closing the dialog via various means (pressing the close box, Alt-F4) to cancel
the download, since that's the way it worked yesterday (and the day before that,
as far back as anybody can remember).
> The behavior I see right now is that the dialog never has a Cancel
>button. So there's no inconsistency
There's inconsistency with past behavior. And there's the fact that there's no
way to cancel the download. I didn't constrain myself to just the issue of
"consistency" (whatever that is). I think changing the fundamental semantics of
closing this dialog is a big enough issue to warrant greater discussion. As is
the issue of how we actually implement that new behavior.
Comment 19•23 years ago
|
||
I did try build 3-20.. and its just like you say.. its what I was talking
about.... but sad you pulled it.. :)
For the Sake of shorthand:
*DM Download Manager
*PD Progress Dialog
I did like the implementation even better than what I was thinking, just maybe
need the [pause/resume] button on the DM toolbar, that should be enough instead
of a context menu, since there is already the other necessary ones. Since
Launch never works in a PD, but does in the DM.
It sounds like the mac guys want you to use two dialogs while the DM guys want
1. So change it was like it was in the 3-20 build, but if the user wants the PD
pref, Then use an older PD which seems to me that, that crowd doesn't wanna use
the DM.
Bill, their functionality can overlap if you find a way to code it right so you
have a (case) clause dependent on pref settings.
..other wise it sounds like the solution is to use two seperate PD's.
So you get this result:
In the Case of the DM usage you need the PD patch that went into 3-20:
You then could have one [Close] (Close which then brings focus back to the DM to
show its still downloading, but no Cancel) button and a triple [PAUSE/RESUME or
blank area] button.
In the Case of the PD usage you need the old PD code that was before 3-20:
You then need to have the older PD dialog as before with no changes: although, I
believe Launch file seems aways greyed out/doesn't work. This would allow the
user to have the DM open if then chosen from Tools > DM, but canceling or
closing the PD will get rid of the download for good.
I guess the only question I have is why do we need PD's if we can provide all
the same functionality with the DM?
| Assignee | ||
Comment 20•23 years ago
|
||
We have to fix this for machv, else new download managers will keep popping up
when you start a download (and, worse yet, only the newest instance will be
functional). I already have a fix for this in hand, but since it was checked in
with an unrelated (problematic) patch, it got backed out. I'll be checking it
back in soon.
Keywords: nsbeta1
Comment 21•23 years ago
|
||
Blake, where is the newsgroup discussion you referred to in comment #14? Is
there an updated spec for any of this?
| Assignee | ||
Comment 22•23 years ago
|
||
Marlon is putting together a spec for this and then I will post it to the
newsgroups.
The bug for the pref panel is bug 132440. What this bug reports isn't contentious.
Updated•23 years ago
|
Comment 24•23 years ago
|
||
blake are you and Marlon going off Ben's Download manager spec page?
http://mozilla.org/xpapps/MachVPlan/DownloadMgr.html
This has a [pause/resume] button on the pic there..
anyway build 3-29-16 win32 DM looks good with Jan's checkin.
Comment 25•23 years ago
|
||
a note about Launch File: I didn't know that launch file is disabled for .exe
files cause that is always what I download from mozilla's latest directory but I
hadn't downloaded anything else other than .exe files for some time. So it
works for file types I guess that Mozilla handles. Anyway this has nothing to
do with the bug problem here.. but just wanted to up to date this as I had
mentioned it here.
Comment 27•23 years ago
|
||
OS = Windows 2000 ?
Well, under Linux you also can open multiple Download Managers
| Assignee | ||
Comment 28•23 years ago
|
||
Attachment #74893 -
Attachment is obsolete: true
Comment 29•23 years ago
|
||
that looks fine, but should failure to get the window-mediator be fatal? before
this patch, we didn't mind if it wasn't there :)
Comment 30•23 years ago
|
||
Attachment #79221 -
Flags: superreview+
| Assignee | ||
Comment 31•23 years ago
|
||
Comment on attachment 79221 [details] [diff] [review]
patch
r=hixie
Attachment #79221 -
Flags: review+
Updated•23 years ago
|
Whiteboard: [adt2] → [adt2][fixed on trunk]
| Reporter | ||
Comment 33•23 years ago
|
||
Any reason this isn't marked as fixed? Because I'll verify it once it is,
everything works well on 2002042209.
| Assignee | ||
Comment 34•23 years ago
|
||
I need adt1.0.0+ to checkin on the branch.
Comment 35•23 years ago
|
||
...and i'll verify this on the branch when/if it's checked in there.
Comment 36•23 years ago
|
||
Do you get a new download manager each time a download occurs or just if you
launch it through the tools menu more than once? If it's just when you do the
tools menu, what bugs happen because you have two download managers open?
| Assignee | ||
Comment 37•23 years ago
|
||
Once bug 137440 is fixed, a new download manager will open for each download.
But only the most recently opened download manager will work. Thus, this is
critical to fix.
Comment 38•23 years ago
|
||
Nice work Blake. Let's get this on on the RTM train. adt1.0.0-/[adt2 RTM], since
bug 137440 was also adt1.0.0-.
| Assignee | ||
Comment 39•23 years ago
|
||
Marking fixed (it's checked in on the trunk). People say that's what I'm
supposed to do, and that adt's magical keywords will keep it on their radar...
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 40•23 years ago
|
||
vrfy'd fixed using 2002.04.29-trunk commercial bits. only get one instance of
the dl mgr. selecting Tools > Download Manager brings the window to front if
it's already up; initiating another download just adds that download to the
current dl mgr window (or brings it up if it's not open).
adding verified1.0.0 kw.
Keywords: verified1.0.0
Comment 41•23 years ago
|
||
ugh, brain fart. trunk, not branch, trunk, not branch...
Keywords: verified1.0.0
Updated•23 years ago
|
Whiteboard: [adt2 RTM][fixed on trunk] → [adt2 RTM][fixed on trunk][verified on trunk]
Whiteboard: [adt2 RTM][fixed on trunk][verified on trunk] → [adt2 RTM][fixed on trunk][verified on trunk],custrtm-
| Assignee | ||
Updated•23 years ago
|
Comment 42•23 years ago
|
||
changing adt1.0.0 to adt1.0.1, to get on adt's radar.
Comment 43•23 years ago
|
||
really marking vrfy'd fixed [for the TRUNK].
Status: RESOLVED → VERIFIED
Whiteboard: [adt2 RTM][fixed on trunk][verified on trunk],custrtm- → [adt2 RTM][fixed on trunk]custrtm-
Comment 44•23 years ago
|
||
adding adt1.0.1+ per ADT. Please get drivers approval before checking in.
Updated•23 years ago
|
Keywords: mozilla1.0.1
Updated•23 years ago
|
Attachment #79221 -
Flags: approval+
Comment 45•23 years ago
|
||
please checkin to the 1.0.1 branch. once there, remove the "mozilla1.0.1+"
keyword and add the "fixed1.0.1" keyword.
Keywords: mozilla1.0.1 → mozilla1.0.1+
| Assignee | ||
Updated•23 years ago
|
Whiteboard: [adt2 RTM][fixed on trunk]custrtm- → [adt2 RTM]custrtm-
Comment 47•23 years ago
|
||
vrfy'd fixed on the branch using 2002.07.02.0x-1.0 comm bits on linux rh7.2,
win2k and mac 10.1.5.
Keywords: fixed1.0.1 → verified1.0.1
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•