Closed
Bug 123015
Opened 23 years ago
Closed 23 years ago
QuickSearch: Clear a no-match search, select msg doesn't load body
Categories
(SeaMonkey :: MailNews: Message Display, defect, P2)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: laurel, Assigned: naving)
References
Details
(Keywords: regression)
Attachments
(1 file)
2.44 KB,
patch
|
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
Using feb01 commercial trunk build After you clear a search which found no matches, when you select a message in the thread pane the body won't load. Once you focus the folder pane or select another folder and return, selectin messages will now load content. 1. Open a mail folder or newsgroup, search bar is shown. 2. Type something in the search bar which will not match any subject or sender in the folder view. 3. Empty search view appears, click Clear. 4. Back in folder view, select any message. Result: Message body doesn't load. Must focus folder pane or select another folder and return, then selecting message will load properly. Note: This problem doesn't happen if you've done a search which matches items in the view.
Was OK with yesterday's build, regressed in today's build.
Keywords: nsbeta1,
regression
*** Bug 123718 has been marked as a duplicate of this bug. ***
*** Bug 124934 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Assignee | ||
Comment 4•23 years ago
|
||
The fix is to make sure that whenever we are calling Save..Selection() we call restoreSelection() because we suppress selection events in Save..Selection() and unsupress them in restoreSelection(). And to make this work m_saveAndRestoreSelectionCount should be in sync. Here since we don't have any hdrs in the view we don't need to do all this SaveSelection and RestoreSelection(). I have checked other instances of SaveSelection() and made sure that we don't return early without RestoreSelection(). This bug was caused indirectly by seth's fix to bug 116174.
Assignee | ||
Comment 5•23 years ago
|
||
I mean if you don't call restoreSelection() m_saveAndRestoreCount will no longer be in sync.
Comment 6•23 years ago
|
||
Comment on attachment 69707 [details] [diff] [review] proposed fix sr=sspitzer thanks for fixing my mistake.
Attachment #69707 -
Flags: superreview+
Assignee | ||
Comment 7•23 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
OK using feb18 commercial trunk build: win98, mac OS 10.1, linux rh6.2
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•