Closed Bug 186999 Opened 22 years ago Closed 21 years ago

current record scrolls out of thread pane viewport after sort

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jonnywon, Assigned: sspitzer)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Mozilla email using pop3 or imap inbox. Close the body display window on the right. Hightlight any message on the message list. Click any colunn head to sort, such as the "Subject" colunn heading to sort by subject. The current record is not re-focused in the display window after the sort, requiring scrolling down and down to find it. Note, this problem does not exist if the body display window is opened. Somehow, when the body display window is opened, and the current highlight record remains in the display list after the sort is finished. Reproducible: Always Steps to Reproduce: 1.Close the body display window 2. Highlight any mail record in list 3. click some colunn head to initiate a sort Actual Results: highlighted record is not refocused/centered into the screen. Expected Results: The display of the sorted list should be vertically centered about the hightlighted record so that it remains in the display after the sort is finished. i classified this a major because I have a big inbox, and I use the sort feature all the time. I don't want to use the work-around (keeping the body display window open) because I often want to delete groups of records without opening them (eg, spam and suspected viruses). Patiently using Netscape Communicator, which does not have this problem, until this Mozilla problem can be fixed. Thanks!
This has been a problem on and off over versions... there are some open and closed existing bugs on this. Will dup them against this current version report and nominate.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: nsbeta1
*** Bug 111665 has been marked as a duplicate of this bug. ***
What a mess you make duping a new OS specific bug to a much older all all blocking bug. This problem has never been gone since bug 111665 was filed.
Blocks: 176238
OS: Windows 2000 → All
Hardware: PC → All
Summary: current record lost from screen after sort → current record scrolls out of header pane viewport after sort
Mail triage team: nsbeta1-
Keywords: nsbeta1-
Keywords: nsbeta1
*** Bug 199251 has been marked as a duplicate of this bug. ***
Is this not a dupe of 94363? Reporter (I believe) has refiled this bug as 194055. I suggested it was a dupe there, too.
*** Bug 194055 has been marked as a duplicate of this bug. ***
*** Bug 186074 has been marked as a duplicate of this bug. ***
Reducing severity to approprite level; fixing summary to refer to "thread pane" which is the correct name of the 'viewport' in question. Note that bug 94363 has a patch under review which may address this issue.
Severity: major → minor
Summary: current record scrolls out of header pane viewport after sort → current record scrolls out of thread pane viewport after sort
Attached patch Proposed patchSplinter Review
By adding extra parameters to save/restore I save/restore the key for the current index rather than relying on the currently loaded message. This also fixes the bug that selectMsgByKey also selects the loaded message, it now guarantees to select only the message with the specified key.
Attachment #132188 - Flags: superreview?(scott)
Attachment #132188 - Flags: review?(bienvenu)
Comment on attachment 132188 [details] [diff] [review] Proposed patch nit: just fix the brace here: + if (aCurrentMsgKey) { + PRInt32 currentIndex; + if (NS_SUCCEEDED(mTreeSelection->GetCurrentIndex(&currentIndex)) && currentIndex >= 0 && currentIndex < GetSize()) + *aCurrentMsgKey = m_keys.GetAt(currentIndex); + else + *aCurrentMsgKey = nsMsgKey_None; + }
Attachment #132188 - Flags: review?(bienvenu) → review+
Comment on attachment 132188 [details] [diff] [review] Proposed patch Trying different reviewer.
Attachment #132188 - Flags: superreview?(scott) → superreview?(dmose)
Has this patch been checked in? I'm seeing the correct behavior in Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6a) Gecko/20031030
This patch isn't in. I can't reproduce this bug. Neil, any updates?
This bug definitely still exists in the latest nightly build which I just downloaded. Mozilla 1.6b Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031110 Please see the detailed instructions for reproducing this bug that appear in bug 111665. Note that you must have the "preview" window completely "collapsed" to make this appear - see comment #8 in bug 111665. -- Les
Comment on attachment 132188 [details] [diff] [review] Proposed patch Maybe Scott's new email address works better ;-)
Attachment #132188 - Flags: superreview?(dmose) → superreview?(mscott)
Attachment #132188 - Flags: superreview?(mscott) → superreview+
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
*** Bug 94363 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: