Port |Bug 296655 - selection of multiple mailboxes/folders in the folders pane is possible but not usable| to SeaMonkey
Categories
(SeaMonkey :: MailNews: Message Display, task)
Tracking
(seamonkey2.49esr wontfix, seamonkey2.53+ fixed, seamonkey2.57esr? affected)
People
(Reporter: iannbugzilla, Assigned: iannbugzilla)
References
Details
(Whiteboard: SM2.53.6)
Attachments
(1 file, 7 obsolete files)
48.93 KB,
patch
|
iannbugzilla
:
review+
iannbugzilla
:
approval-comm-release+
iannbugzilla
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
Port the relevant changes from:
- Bug 296655 - selection of multiple mailboxes/folders in the folders pane is possible but not usable
- Bug 236667 - hide 'Subscribe...' context menu item when not on an account of the proper server type
- Bug 1210071 - Fix folder contextmenu regression in Bug 236667
- Bug 39121 - Unspecialize Trash folder for IMAP "Mark as Deleted" & "Remove Immediately" modes
- Bug 490326 - don't allow sub-folders or saved searches under smart folders inbox
- Bug 492964 - Get New Messages for <selected account> is trying to get messages for all the accounts when using global inbox
- Bug 560193 - Allow deleting a saved search under news account
- Bug 1503734 - Remove needless constants for nsMsgFolderFlags
- Bug 473642 - the compact button should be disabled for saved searches
- Bug 496543 - Marks folders as read only marks first folder
[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: no context menu when multiple items selected
Testing completed (on m-c, etc.): 2.53.x
Risk to taking this patch (and alternatives if risky): None
String changes made by this patch: Added 3 strings
Changes since last patch:
- Moved newsgroup logic into for loop in deleteFolder so that it works properly.
- Fixed FolderPaneController's isCommandEnabled to allow multiple folder selection.
- Port some extra changes to take account of virtual folders in newsgroups
Changes since last patch:
- Backport parts of a couple more patches
Comment 4•4 years ago
•
|
||
Comment on attachment 9187914 [details] [diff] [review]
Context menu for multiple selection patch v1.2
mail3PaneWindowCommands.js
else
else { return false;
}
I think the else can go. Unconditional return false at this point.
mailContextMenus.js
- function checkIsVirtualFolder(folder) {
- return folder.flags & Ci.nsMsgFolderFlags.Virtual;
You are using folder.getFlag(Ci.nsMsgFolderFlags.Virtual) for this in folderPane.js. More than one time in the patch so maybe search for folder.flags in new code.
!(folder.flags & Ci.nsMsgFolderFlags.Trash))
Same here
}
- else
- {
- else {
Better } else { ?
- return(true);
return true;
mailWindowOverlay.js
Components.interfaces.nsISubscribableServer);
Ci.nsISubscribableServer
As noted over irc Compact this folder needs either a plural form in the popup menu or we do it the TB way and just state Compact.
NIT One line if formatting with curly braces as discussed too.
Minor problem: popups under Windows have too many separators because of removed items. If we don't find it in time it is cosmetic and can go into a follow up.
Didn't find any problems so far. f+ for now but overall good job.
Changes since last patch:
- Fixed disabling of Compact in file menu
- Changed folder.flags to folder.getFlag in the new code
- Added plural for compact on context menu
- Addressed most of the other comments
Changes since last patch:
- Disable compact in File menu for virtual folders.
Changes since last patch:
- Do folder context menu separators the same way TB does.
Changes since last patch:
- Properly fix separators in the folder pane context menu.
Comment 9•4 years ago
|
||
Comment on attachment 9190189 [details] [diff] [review]
Context menu for multiple selection patch v1.6
LGTM
Assignee | ||
Comment 10•4 years ago
|
||
mailnews/ part is now in Bug 1680928, carrying forward r/a+
Comment 11•4 years ago
|
||
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/b944d175bb86
Port |Bug 296655 - selection of multiple mailboxes/folders in the folders pane is possible but not usable| to SeaMonkey. r=frg
Updated•4 years ago
|
Comment 12•4 years ago
|
||
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/5efb9c1e4f3f9d3b76a7fe19e7ba111d05e21e8a
Port |Bug 296655 - selection of multiple mailboxes/folders in the folders pane is possible but not usable| to SeaMonkey. r=frg a=frg
Comment 13•4 years ago
|
||
Does the fix for this also fix bug 50767 (or at least make it obsolete)? Looks like that's an old Mozilla Suite bug, referenced in Thunderbird bug 296655 comment 3.
Updated•4 years ago
|
Description
•