Closed Bug 87516 Opened 23 years ago Closed 23 years ago

Send Message Progress-Bar (in the statusbar) should show "Progress" (and not just a barber pole)

Categories

(MailNews Core :: Composition, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: Peter, Assigned: bugzilla)

Details

Attachments

(2 files)

Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.1+) Gecko/20010622

Send Message Progress Bar should show "Progress" (and not just a barber pole).

This is particularly useful for messages with attachments.
ccing hwaara.  Hakan, isn't this a dup of one of your bugs?
Whiteboard: DUPEME
Nope. But it might be a dup of any of ducarroz's bugs.

-> Composition
Component: Mail Window Front End → Composition
this should be dup of bug 86393
NO, not a dupe, because this bug means the progress bar in the *status bar* (and
not in the extra window, which would have made this bug a wontfix, not a dupe).
Sorry for not being more clear in the summary -> changing.
Summary: Send Message Progress Bar should show "Progress" (and not just a barber pole) → Send Message Progress-Bar (in the statusbar) should show "Progress" (and not just a barber pole)
*** This bug has been confirmed by popular vote. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: DUPEME
adding keyword nsenterprise
Keywords: nsenterprise
reassigning to ducarroz.  I think this might be fixed.
Assignee: sspitzer → ducarroz
during a send/save operation, the status bar show exactly the same status than
the send/save progress dialog. I don't understand why this bug get open! Peter,
can you explain exactly what's the problem. Thanks
Progress-bar, as in: *a bar that increases in size* as more and more of the
message is transmitted.

Like this:
 10% #
 20% ##
 50% #####
100% ##########
Not like this:
////////////// (rotating stripes)
BTW, I only care about the *statusbar*. I could care less about the unnecessary
and poor UI design decision of the "send progress dialog" (which should be
abolished anyways). :|
Status: NEW → ASSIGNED
Whiteboard: Have fix
Attached patch Proposed fix, v1Splinter Review
Whiteboard: Have fix → Have fix, need r & sr
Should we have a common function for the calculations of the progress-bar
status?. We seem to have similar code in lots of places throughout the product.
Other than that - r=varada
Whiteboard: Have fix, need r & sr → Have fix, need sr
Priority: -- → P3
Target Milestone: --- → mozilla0.9.4
+      var overallProgress = aCurTotalProgress;

why define this?  just use aCurTotalProgress in your function

+      if ( aMaxTotalProgress != "-1" ) 

is aMaxTotalProgress a string, or an int, or both?  do some callers call
onProgressChange() with a string and some with an int?

varada, that code is sprinkled all over, but mostly I've seen it in C++.  does
it exist anywhere else in JS?
I copied this code from the progress dialog JS and modified it. The problem with
JS is that even if we try to put into a common file, JS will still have to
compile it each time we use it therefore they will be no speed gain but rather
even a degradation as JS need to open an extra file.
Attached patch proposed fix, v2Splinter Review
change to myself 
QA Contact: esther → sheelar
Fixed and checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: Have fix, need sr
I sure hope this checkin fixes the *Statusbar* and not just that useless extra
"status window". ;)
verified, send progress in the status bar is same as the in the send progress dlg

2001-08-13-06 win98
2001-08-13-04 mac
2001-08-13-06 linux
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: