Closed Bug 65995 Opened 25 years ago Closed 24 years ago

"Edit | Properties" should be context specific

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: jglick, Assigned: andreww)

References

()

Details

Attachments

(2 files, 2 obsolete files)

Spin off of bug: 65019 "Edit | Properties" is currently the same regardless of what has focus. Since we are using context sensitive menu items in the other menus, it would be nice if this one was also. Especially since when a message has focus, the Edit "Properties" item refers to the folder/server in the left pane instead of the message that is selected. The "Edit | Properties" menu item should be context specific for the following items: Folder, Mail Server, News Server or Newsgroup Properties.
OS -> All Platform -> All
OS: Windows 98 → All
Hardware: PC → All
See also bug 67614, need more ways to access properties (Ctrl+I, etc).
> The "Edit | Properties" menu item should be context specific for the following > items: Folder, Mail Server, News Server or Newsgroup Properties. And msg. (Otherwise, the menu item is misplaced and misnamed.)
Nominating this for nsbeta1.
Keywords: nsbeta1
marking nsbeta1-
Keywords: nsbeta1 → nsbeta1-, nsCatFood+
Target Milestone: --- → Future
Blocks: 40861
Keywords: nsbeta1
Taking off seth's plate
Assignee: sspitzer → andreww
Status: NEW → ASSIGNED
Target Milestone: Future → mozilla0.9.7
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla0.9.9
QA Contact: nbaca → olgam
*** Bug 123096 has been marked as a duplicate of this bug. ***
Please consider this bug for next release (Mach V) since we need this for Folder Properties for specifying IMAP Shared Folder.
approving nomination. Needed for shared folders feature.
Keywords: nsbeta1 → nsbeta1+
For clarification: "Folder Properties" and "Newsgroup Properties" open the <Folder/Newsgroup> Properties dialog. "Mail Server Properties" and "Newsgroup (Not "News") Server Properties" should be enabled and open the "Mail & Newsgroups Account Settings" dialog. The top level item for the correct account (account with focus as time) should be selected.
>"Mail Server Properties" and "Newsgroup (Not "News") Server Properties" should >be enabled and open the "Mail & Newsgroups Account Settings" dialog. The top >level item for the correct account (account with focus as time) should be >selected. Andrew just mentioned that "Mail & Newsgroup Account Settings" menu item is already in the Edit menu. So leaving "Properties" disabled when a server is selected is fine.
should have this ready early in 1.0 cycle.
Target Milestone: mozilla0.9.9 → mozilla1.0
patch ready for review
Keywords: review
Comment on attachment 71433 [details] [diff] [review] changes to mail3PaneWindowCommands.js, messenger.dtd, mailWindowOverlay.xul >+ var specialFolder = null; >+ var isServer = null; >+ var serverType = null; Please declare these variables inside the try block, which is where you use them. Also, why do you initialize them to null? >+ folderOutliner.outlinerBoxObject.selection.getRangeAt(0, startIndex, endIndex); Bad indentation. >+ //isServer = GetFolderAttribute(folderOutliner, folderResource, "IsServer"); Is 'isServer' unused, and can be removed? >+ switch (serverType) >+ { >+ case "none": >+ case "imap": >+ goSetMenuValue(command, 'valueFolder'); >+ break; Is it just me, or is there a "pop3" that should be added here as well? >+ dump("properties menu failure: " + ex + "\n"); This is not needed. An exception will thrown anyway, in the JS console.
Attachment #71433 - Flags: needs-work+
great feedback! New patch forthcoming.
try # 2 with changes from Joe's comments.
Attachment #71433 - Attachment is obsolete: true
Comment on attachment 71713 [details] [diff] [review] patch v2 with changes from comments. Looks like this patch is corrupt - there's leading and trailing cruft. BTW, who's Joe? ;-) r=hwaara
Attachment #71713 - Flags: review+
Goodness! - forgive me Hwaara - I told hewitt to review this and I totally didnt see the user name there. I had assumed that he'd looked at it already and had posted comments. Thanks for the good feedback all the same :)
Attached patch patch — — Splinter Review
Attachment #71744 - Attachment is obsolete: true
Comment on attachment 71744 [details] [diff] [review] patch carrying over the r=
Attachment #71744 - Attachment description: testpatch - ignore please → patch
Attachment #71744 - Attachment is obsolete: false
Attachment #71744 - Flags: review+
1) I don't see why you need these lines: + var specialFolder; + specialFolder = GetFolderAttribute(folderOutliner, folderResource, "SpecialFolder"); 2) is commandglue.js already included (I think so.) you can use GetSelectedFolderResource() instead of duplicating the code.
update to js file only - per seth's comments.
Comment on attachment 72071 [details] [diff] [review] changes to mail3panewindowcommands.js - seth's recommendations sr=sspitzer
Attachment #72071 - Flags: superreview+
Comment on attachment 72071 [details] [diff] [review] changes to mail3panewindowcommands.js - seth's recommendations a=dbaron for trunk checkin (although it's nice to attach the complete patch so we don't have to piece it together mentally from multiple attachments)
Attachment #72071 - Flags: approval+
fix check into the trunk
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified on Win2K, Linux, Mac OSX - 03-04-2002 trunk. Checked with selected Folder in Mail and in Newsgroup, also with message selected.
Status: RESOLVED → VERIFIED
follow up: in bug #172178, I've made it so it's "Edit | Properties..." and enabled for servers. and when you use it, it brings up the account manager to that account.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: