Closed Bug 121359 Opened 23 years ago Closed 22 years ago

When exiting quick search, if no message selected, scroll to first new message

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.2alpha

People

(Reporter: scottputterman, Assigned: naving)

References

(Blocks 1 open bug)

Details

(Whiteboard: [ue])

Attachments

(1 file)

1. Do a quick search and have no messages selected 2. Send yourself new mail and make sure biff goes off. 3. Exit quick search. Currently when you do this, the the thread pane is positioned at the top of the folder. But, in this scenario, the reason I have exited Quick Search is to read my new mail. I think it should scroll to the first new message in this case, just like we do when loading a folder. If a message is selected in Quick Search, it should still scroll to that message when exiting Quick Search.
Keywords: nsbeta1
I agree.
Status: NEW → ASSIGNED
Keywords: nsbeta1nsbeta1-
Target Milestone: --- → mozilla1.2
Blocks: 157217
Attached patch proposed fixSplinter Review
The fix is to scroll to the first new message if preservedSelection array is of size 0.
Cavin, David. Can I get reviews? thx.
Comment on attachment 93357 [details] [diff] [review] proposed fix r=cavin.
Attachment #93357 - Flags: review+
Comment on attachment 93357 [details] [diff] [review] proposed fix sr=bienvenu, if you move the check for mTree into one of the other conditionals (e.g., if (mTree && preservedSelection.GetSize() == 0), or if (mTree && resultKey != nsMsgKey_none)
Attachment #93357 - Flags: superreview+
Keywords: nsbeta1-nsbeta1
Whiteboard: [ue]
Blocks: 160730
fixed
fixed
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
OK using nov24 commercial trunk: linux rh8, win98. Haven't been able to get this to work right on Mac. Will try some more and spin a new bug if can't get it to work.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
Component: MailNews: Search → MailNews: Message Display
QA Contact: laurel → search
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: