Closed
Bug 362349
Opened 18 years ago
Closed 18 years ago
suppressMsgDisplay should only force display when exactly one message is selected
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla, Assigned: bugzilla)
References
()
Details
Attachments
(1 file)
1.19 KB,
patch
|
neil
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
At the moment switching suppressMsgDisplay from true to false loads the first selected message, even if multiple messages are selected. This prevents correct behaviour of enabling the Message Pane (found during work for bug 352696). Patch to come.
Assignee | ||
Comment 1•18 years ago
|
||
With this patch unhiding the Message Pane only loads a message if numSelected is 1. This is the same behaviour as marking multiple messages in SeaMonkey (no message gets loaded). I also trimmed the (mSuppressMsgDisplay && (mSuppressMsgDisplay != aSuppressDisplay)) if-clause, cause that's only true when mSuppressMsgDisplay is true and aSuppressDisplay is false, so querying !aSuppressDisplay instead of mSuppressMsgDisplay != aSuppressDisplay is enough. David, can you please have a closer look if this breaks anything in Thunderbird since this is shared code?
Attachment #247056 -
Flags: superreview?(bienvenu)
Attachment #247056 -
Flags: review?(neil)
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•18 years ago
|
Attachment #247056 -
Attachment description: forceUpload only for exactly one selected message → forceDisplay only for exactly one selected message
Assignee | ||
Comment 2•18 years ago
|
||
Comment on attachment 247056 [details] [diff] [review] forceDisplay only for exactly one selected message forceDisplay of course...
Updated•18 years ago
|
Attachment #247056 -
Flags: review?(neil) → review+
Updated•18 years ago
|
Attachment #247056 -
Flags: superreview?(bienvenu) → superreview+
Comment 3•18 years ago
|
||
Landed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•