Closed Bug 201881 Opened 21 years ago Closed 19 years ago

disable more commands when opening messegae/rfc822 attachment in stand alone msg window

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sspitzer, Assigned: antonio.xu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

from bug #143565:

disable more comments when opening rfc/822 attachment in stand alone msg window

1) we should disable Message | Move and Message | Copy menu items
2) right click on the message body, there's a bunch we should disable there
OS: Windows 2000 → All
Hardware: PC → All
Attached patch patch version 1.0 (obsolete) — Splinter Review
Those two issues can be solved by this patch.
Attachment #120414 - Flags: superreview?(sspitzer)
Attachment #120414 - Flags: review?(neil)
Comment on attachment 120414 [details] [diff] [review]
patch version 1.0

Doesn't this disable too many context menu items? Actually how I would like to
see this fixed is to use the msgMail3PaneWindow.js version of
GetFirstSelectedMessage for all windows (move it into mailWindowOverlay.js?),
then those functions that need a real message use that and those functions that
need the loaded message or attachment can use GetLoadedMessage().
create new patch according to Neil's advice.
Attachment #120414 - Attachment is obsolete: true
Attachment #120567 - Flags: superreview?(sspitzer)
Attachment #120567 - Flags: review?(neil)
Comment on attachment 120567 [details] [diff] [review]
patch version 1.1

>Index: mailnews/base/resources/content/mailContextMenus.js
>===================================================================
>RCS file: /cvsroot/mozilla/mailnews/base/resources/content/mailContextMenus.js,v
>retrieving revision 1.40
>diff -u -r1.40 mailContextMenus.js
>--- mailnews/base/resources/content/mailContextMenus.js	18 Mar 2003 19:33:28 -0000	1.40
>+++ mailnews/base/resources/content/mailContextMenus.js	15 Apr 2003 13:17:36 -0000
>@@ -446,7 +448,7 @@
>   SetupLabelsMenuItem("messagePaneContext-labels", numSelected, (numSelected == 0 || hideMailItems));
>   SetupMarkMenuItem("messagePaneContext-mark", numSelected, (numSelected == 0 || hideMailItems));
>   SetupSaveAsMenuItem("messagePaneContext-saveAs", numSelected, (numSelected == 0 || hideMailItems));
>-  SetupPrintMenuItem("messagePaneContext-print", numSelected, (numSelected == 0 || hideMailItems));
>+  SetupPrintMenuItem("messagePaneContext-print", ((message) ? 1 : 0), ((numSelected == 0 && !message) || hideMailItems));
Do you need numSelected == 0 && !message here?
I would guess that !message works on its own...
Attachment #120567 - Flags: review?(neil) → review+
Comment on attachment 120414 [details] [diff] [review]
patch version 1.0

clearing obsolete review requests
Attachment #120414 - Flags: superreview?(sspitzer)
Attachment #120414 - Flags: review?(neil)
Summary: disable more comments when opening rfc/822 attachment in stand alone msg window → disable more commands when opening rfc/822 attachment in stand alone msg window
May bug 204350 be relevant?
Product: Browser → Seamonkey
Change 'rfc/822' in summary to 'message/rfc822' for ease of search.
Summary: disable more commands when opening rfc/822 attachment in stand alone msg window → disable more commands when opening messegae/rfc822 attachment in stand alone msg window
No longer blocks: 279650
Depends on: 279650
Blocks: 279650
No longer depends on: 279650
Blocks: 269826
No longer depends on: 269826
May I ask that this bug's status be changed to WONTFIX?
I mean, looking at the number of votes for bug 204350, all of the options
mentioned here should be ENabled, not disabled.
No longer blocks: 279650
The new patch at bug 204350 is progress in the opposite direction indicated by this bug: more functions are getting enabled.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Comment on attachment 120567 [details] [diff] [review]
patch version 1.1

I've just verified that all the options that are currently presented do actually work.

As this bug has also long ago been marked wontfix, cancelling review request on the patch as it doesn't seem necessary any more.
Attachment #120567 - Flags: superreview?(sspitzer)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: