Closed
Bug 78193
Opened 25 years ago
Closed 25 years ago
UTCH should support pause & resume
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: dougt, Assigned: dougt)
References
Details
(Whiteboard: pending review.)
Attachments
(3 files)
|
7.45 KB,
patch
|
Details | Diff | Splinter Review | |
|
18.78 KB,
image/jpeg
|
Details | |
|
7.45 KB,
patch
|
Details | Diff | Splinter Review |
The download widget should support pause and resume. This would allow a user to
suspend a download for x amount of time. Then, after this time, they should be
able to resume the download without any loss of data if possible. FTP supports
this functionality.
| Assignee | ||
Comment 2•25 years ago
|
||
| Assignee | ||
Comment 3•25 years ago
|
||
It is not a dup of 18004. "Resuming stopped downloads" is a much broader set
than explict pause and resume functionaly. Bug 18004 implies persistance. This
bug does not address that.
Comment 5•25 years ago
|
||
"pausablity"? Shouldn't that be "pausability" (or am I misunderstanding what
it's intended to mean)? Please get Ben or Matthew to approve the UI changes
before checking in.
| Assignee | ||
Comment 6•25 years ago
|
||
Comment 7•25 years ago
|
||
hey doug, this sounds like a neat idea.
Question, how are we going to get this to work for many of the other protocols
besides ftp and http that use this dialog? some protocols don't support the
ability to "pause" and "resume" things. Imap, mailbox ring a bell for starters =).
Could we combine the pause/resume buttons (change text to "Resume" after "Pause"
is pushed)? The dialog is getting pretty congested with all those buttons...
I'm with Blake on changing the "pausablity" to something else. Maybe
"...PauseButton" (if we go to a single button).
Also, all the 'document.getElementById("pause")'s and
'document.getElementById("resume")'s could be changed to 'dialog.pause's and
'dialog.resume's.
| Assignee | ||
Comment 9•25 years ago
|
||
Right.
So basically, in the first notification that I get from the progress listener, I
QI the request to something that I know supports resuming. Right now, I will
enable only for the FTP protocol (REST rfc 959). If the QI is successful, I
unhide the pause and resume buttons.
When HTTP byte range support comes along, I will QI for that channel and enable
the buttons for HTTP.
Protocols like IMAP don't have to do anything special.
| Assignee | ||
Comment 10•25 years ago
|
||
Bill, actually, I think that the "Launch" and "Reveal" buttons should be
invisible until the file is actually downloaded. These two buttons don't make
any sense prior to the point the file is on disk.
| Assignee | ||
Comment 11•25 years ago
|
||
Comment 12•25 years ago
|
||
me thinks we engineers shouldn't be designing UI =). Can you set up a discussion
with German to get his input on how he would like to see your Pause/Resume
buttons integrated into this dialog?
Sorry if this has already happened, I'm still catching up on all my email.
Personally, I really like Bill's suggestion of having one button for
Pause/Resume which toggles depending on the state you are in.
| Assignee | ||
Updated•25 years ago
|
Whiteboard: pending review.
Comment 13•25 years ago
|
||
cc'ing german for his comments.
i agree with both bill and mscott re: having a single pause/resume button.
OS: Windows 2000 → All
Hardware: PC → All
| Assignee | ||
Comment 14•25 years ago
|
||
sure. I can do this. lets see what else ben, german, have to say before I hack
on this a more.
Comment 15•25 years ago
|
||
+ // right now, all that supports restarting downloads is ftp (rfc959)
perhaps
// only rfc959 resume support (ftp) is implemented. see bug XXXXX
A reminder that most media players (QT, WMP, Real,..) and most browsers have
seperate play/pause / stop/reload buttons.
Comment 16•25 years ago
|
||
A download dialogue is not a media player :)
Comment 17•25 years ago
|
||
[score:-5, silly, don't read]. Oh really? hrm... /me goes back through notes.
QuickTime, RealPlayer, mplayer.exe, WMP, WinAmp they can all play streaming
media (or non streaming media that they download first).
mplayer's window is slightly shorter and wider than ours, as were qt2/3's media
player, real player2-5 [and perhaps 6/7/8 in non video modes]. Their features
are rather similar, filename/serverpath, timeelapsed/remaining, size,
bit/transfer rate, play, pause, stop. [... what do you call a window that lets
you download and play music? perhaps a media player, but would it be unfair to
say it downloads stuff?]
But there's one important difference, their window _is_ the application window,
so they need to get the layout right. [actually, did qt4/5 use play and stop as
one button? i don't remember]
I seem to recall blake and others rejecting the stop/reload combo button, but
you didn't complain that i tried to draw a parallel to it. any reason?
Comment 18•25 years ago
|
||
Wouldn't a better option be, as I have asked for elsewhere, to have two
buttons 'Cancel and delete' and 'Cancel and leave file'. In conjunction with
the ability to resume partially downloaded files, this would do pretty much
what was asked for here.
Comment 19•25 years ago
|
||
I think one of the reasons the stop/reload was rejected was because the button
can be both triggered by the user and enabled/disabled/changed arbitrarily by
the program, so there was a good chance that the user could click it at the
wrong time, etc. This isn't the case with this button, since the program won't
really be updating the button on its own. I, too, was going to suggest
making them one button, however I'm not completely sure all users will
understand that a download's paused if they don't see a disabled Pause button.
Then again, since they had to click Pause to get it to say Resume, it shouldn't
be hard to figure out.
| Assignee | ||
Comment 20•25 years ago
|
||
I say worse is better; lets check this patch in as is. We still have 4 weeks
until the next milestone. In that time, all the UI hackers can debate if how to
present this to the user. In the mean time, the ftp backend can gets some
cycles.
Comment 21•25 years ago
|
||
actually, in theory, the button should change for code reasons.
Doug: if the ftp connection drops, does the ui update?
i'm not opposed to checkin in now, but blake's view seemed to be ~worse is
better is unnacceptable~.
Comment 22•25 years ago
|
||
I don't see the merit in having two buttons, other than adding clutter to this
dialog.
| Assignee | ||
Comment 23•25 years ago
|
||
ben, is that your only complaint? if that changes, do I have a sr=ben?
Comment 24•25 years ago
|
||
sure, ok, if you also fix the pausablity thing, sr=ben ;)
Comment 25•25 years ago
|
||
I think it would be nice to test this feature as soon as possible and early in
the Milestone cycle if possible. Ben has OK'd the UI (at least as a temporary
front end for testing purposes) so go ahead and check this in. Interested
people should draft a spec and file bugs on dougt if the current UI doesn't
match that spec.
| Assignee | ||
Comment 26•25 years ago
|
||
okay. fixed checked in. interested parties please take a look at it in
tomorrow's build.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 27•25 years ago
|
||
it's there now and works after a few quick tests. vrfy the three main platforms
using 2001.05.02.xx bits.
Status: RESOLVED → VERIFIED
Comment 28•25 years ago
|
||
okay a bit late in the discussion but anyway...
Nice comparison with media players and nice arguments...but why the hell doesn't
anyone compare this with a download manger? I think this would be a better
comparison.
And right away GetRight for example has a combined pause/resume button and I
like this cause you only need one of these at a time. And for example if you
click on pause in Winamp when its paused it resumes playing if you like your
media player comparison...
Comment 29•25 years ago
|
||
Yes and think of cassette recorders. They have one button for pause and resume.
Comment 30•25 years ago
|
||
We're drifting a bit off-topic here, but here goes anyway.
The interface for most media players is based on that for stereos. Stereos have
seperate buttons for functions that are mutually exclusive (for example, there's
still a play button when you're already playing and still a stop button when
you're stopped) because it's hard to dynamically change the labels of real life
buttons. Media players just copy the buttons of stereos (because everyone can
use a stereo).
One of the exceptions (in both stereos and their virtual equivilants) is the
pause button, which are usually acts a toggle. I guess this is because it's like
a mode that you can enable or disable (it doesn't actually stop playback like
play, just suspends it).
In terms of the interface for Mozilla's download dialogue, I think having a
combined pause/resume button would be best. It would cut down on visual clutter
and the user doesn't have to work out which button to press to reverse the pausing.
Blake Ross said "...I'm not completely sure all users will understand that a
download's paused if they don't see a disabled Pause button." I think it's only
really novice users that will be confused about that. And really novice users
probably won't be using Mozilla/Netscape. They'll be using IE because it's
nicely built in and they don't have to download another program (which, of
course, is why IE has such a huge market share). Anyway, if there were two
seperate buttons, Pause would be 'greyed out' when paused and 'lit up' when not
paused, which could confuse really novice users - remember they probably won't
understand the concept of disabled buttons (in fact, they may try to press pause
when it's disabled to resume their download).
I think we should just be glad that we've got something and let the UI people
sort out the UI. MPT, we're ready and waiting! :-)
Comment 31•25 years ago
|
||
The current home for fixing up the UI is bug 67216.
Updated•21 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•