Closed Bug 67636 Opened 24 years ago Closed 19 years ago

[RFE] show number of selected messages

Categories

(SeaMonkey :: MailNews: Message Display, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jruderman, Assigned: mbockelkamp)

References

Details

(Keywords: polish)

Attachments

(2 files, 4 obsolete files)

rfe: when mutliple messages are selected in the thread pane, show the number of 
selected messages (and possibly also the total size of the messages) in the 
status bar.  This new text might replace the number of unread messages in the 
entire folder when multiple messages are selected.
Keywords: polish, ui
Summary: [rfe] show number of selected messages → [RFE] show number of selected messages
*** Bug 154144 has been marked as a duplicate of this bug. ***
OS: Windows 98 → All
Hardware: PC → All
Attached patch Patch (obsolete) — Splinter Review
Attachment #130355 - Flags: superreview?(scott)
Attachment #130355 - Flags: review?(scott)
Attachment #130355 - Flags: review?(scott) → review?(ere)
Comment on attachment 130355 [details] [diff] [review]
Patch

doesn't apply any more
Attachment #130355 - Attachment is obsolete: true
Attachment #130355 - Flags: superreview?(mscott)
Attachment #130355 - Flags: review?(ere)
Attached patch Patch (updated) (obsolete) — Splinter Review
updated patch
Assignee: sspitzer → mbockelkamp
Status: NEW → ASSIGNED
Attachment #151595 - Flags: superreview?(bienvenu)
Attachment #151595 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 151595 [details] [diff] [review]
Patch (updated)

Some trivial style nits I thought of but aren't worth fixing:

>+    if (GetNumSelectedMessages() > 1)
>+    {
>+      var numUnread =
>+            gMessengerBundle.getFormattedString("selectedMsgStatus",
>+                                                [GetNumSelectedMessages()]);
Could have used var numSelected = GetNumSelectedMessages();
Could have used ?: to select the string name

> function ThreadPaneSelectionChanged()
> {
>   if (!gRightMouseButtonDown)
>     GetThreadTree().view.selectionChanged();
>+  UpdateStatusMessageCounts(msgWindow.openFolder);
> }
Could have inserted the line at the start of the function
Attachment #151595 - Flags: review?(neil.parkwaycc.co.uk) → review+
Product: Browser → Seamonkey
Attached patch Patch v2 (obsolete) — Splinter Review
- updated patch to apply cleanly
- followed neil's comments
- trying another superreviewer
Attachment #151595 - Attachment is obsolete: true
Attachment #188096 - Flags: superreview?(mscott)
Attachment #188096 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #151595 - Flags: superreview?(bienvenu)
Comment on attachment 188096 [details] [diff] [review]
Patch v2

>+      gMessengerBundle.getFormattedString("selectedMsgStatus",[GetNumSelectedMessages()]) :
This line should reuse numSelected, and see the following comment.

>+      gMessengerBundle.getFormattedString("unreadMsgStatus",[folder.getNumUnread(false)]);        
Both of these lines are longer than 80 characters and should be wrapped using
the total messages as an example. In fact you should find that you are able to
reuse, rather than remove, the following two lines:
>-            gMessengerBundle.getFormattedString("unreadMsgStatus",
>-                                                [ folder.getNumUnread(false)]);
Attachment #188096 - Flags: review?(neil.parkwaycc.co.uk) → review-
Attached patch Patch v3 (obsolete) — Splinter Review
followed your last review comments
Attachment #188096 - Attachment is obsolete: true
Attachment #188197 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #188197 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #188096 - Flags: superreview?(mscott)
Comment on attachment 188197 [details] [diff] [review]
Patch v3

file has changed...
Attachment #188197 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #188197 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch Patch v4Splinter Review
new try
Attachment #188197 - Attachment is obsolete: true
Attachment #188199 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #188199 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #188259 - Flags: superreview?(bienvenu)
Attachment #188259 - Flags: review+
Comment on attachment 188259 [details] [diff] [review]
Patch v4 with whitepsace fixes

this will cause thunderbird to make an unneeded all to
UpdateStatusMessageCounts whenever selection changed, but we might add this rfe
to tbird...
Attachment #188259 - Flags: superreview?(bienvenu) → superreview+
Attachment #188259 - Flags: approval1.8b3?
Attachment #188259 - Flags: approval-aviary1.1a2?
Comment on attachment 188259 [details] [diff] [review]
Patch v4 with whitepsace fixes

a=bsmedberg for landing July 5-6
Attachment #188259 - Flags: approval1.8b3?
Attachment #188259 - Flags: approval-aviary1.1a2?
Attachment #188259 - Flags: approval-aviary1.1a2+
Can someone check this in? Neil?

@bsmedberg: What happened to my approval request for 1.8b3? Is it denied?
Fix checked in.

@mbockelcamp: the two approvals are roughly equivalent.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
(In reply to comment #12)
> we might add this rfe to tbird...

bug 261512

Comment on attachment 188199 [details] [diff] [review]
Patch v4

Removing obsolete review requests.
Attachment #188199 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #188199 - Flags: review?(neil.parkwaycc.co.uk)
Verified FIXED using build 2005-07-09-06 on Windows XP: I checked local (which
also includes POP3 folders), NNTP (news) and IMAP folders.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: