Closed Bug 289838 Opened 20 years ago Closed 20 years ago

"Search Messages" in Mail Account Context Menu is broken (always disabled)

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cbook, Assigned: iannbugzilla)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050410 Mnenhy/0.7.2.0 It`s no longer possible to use the "Search Messages" function in the Context Menu.The Function is not clickable. It only works in Tools -> Search Messages. To reproduce: 1. Open MailNews 2. Click right in your local Mail Account or Local Folders and try to click on "Search Messages" 3. Nothing happens/Function not clickable Regressed between 050405 and 050406.
There are a few solutions to this problem and here are a couple: a) Alter http://lxr.mozilla.org/seamonkey/source/mailnews/base/resources/content/mailWindowOverlay.xul#658 from: <popup id="folderPaneContext" onpopupshowing="return fillFolderPaneContextMenu();" to the following line: <popup id="folderPaneContext" onpopupshowing="goUpdateCommand('cmd_search'); return fillFolderPaneContextMenu();" b) Alter http://lxr.mozilla.org/seamonkey/source/mailnews/base/resources/content/mailWindowOverlay.xul#717 from: command="cmd_search"/> to the following line: oncommand="MsgSearchMessages();"/> and probably remove references to cmd_search elsewhere.
Summary: "Seach Messages" in Mail Account Context Menu is broken → "Search Messages" in Mail Account Context Menu is broken (always disabled)
Status: NEW → ASSIGNED
Attached patch Patch v0.1 (obsolete) — Splinter Review
This patch: * Moves cmd_search from "mailCommands" commandset to "mailToolsMenuItems" one. * Changes mailContextMenus.js to update "cmd_search" rather than menuitem. * Makes Tool menuitem and key use "cmd_search" too, so they are enabled/disabled correctly.
Attachment #180360 - Flags: review?(neil.parkwaycc.co.uk)
Flags: blocking-seamonkey1.0a+
*** Bug 289986 has been marked as a duplicate of this bug. ***
Attachment #180360 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #180360 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #180360 - Flags: review+
Comment on attachment 180360 [details] [diff] [review] Patch v0.1 >+ <command id="cmd_search" oncommand="goDoCommand('cmd_search')" disabled="true"/> I wonder why this had disabled="true" on it, after all it's not usually disabled, is it? (Although, nobody would have noticed the bug if it hadn't said disabled!)
Attachment #180360 - Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Changes from v0.1 * Removed disabled="true" from cmd_search Carrying forward r and sr, requesting a= for low risk, regression fix.
Attachment #180360 - Attachment is obsolete: true
Attachment #181067 - Flags: superreview+
Attachment #181067 - Flags: review+
Attachment #181067 - Flags: approval1.8b2?
Comment on attachment 181067 [details] [diff] [review] Tweaked Patch v0.1a (Checked in) a=asa
Attachment #181067 - Flags: approval1.8b2? → approval1.8b2+
Comment on attachment 181067 [details] [diff] [review] Tweaked Patch v0.1a (Checked in) Checking in mailContextMenus.js; /cvsroot/mozilla/mailnews/base/resources/content/mailContextMenus.js,v <-- mailContextMenus.js new revision: 1.53; previous revision: 1.52 done Checking in mailWindowOverlay.xul; /cvsroot/mozilla/mailnews/base/resources/content/mailWindowOverlay.xul,v <-- mailWindowOverlay.xul new revision: 1.292; previous revision: 1.291 done
Attachment #181067 - Attachment description: Tweaked Patch v0.1a → Tweaked Patch v0.1a (Checked in)
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Verified FIXED using build 2005-04-21-06 under Windows XP with Seamonkey trunk. I checked both IMAP and Local/POP3 folders.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: