Open Bug 235559 Opened 21 years ago Updated 17 years ago

list pane scrolls back to selected message after clicking on junk icon of other message

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: danielbarclay.oss, Unassigned)

Details

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 In the message list pane's message list, if you click on a message's icon to mark it as junk, then when the message disappears from the list (e.g., when things are configured to move junk messages to the Junk folder), the list scrolls to any selected message. That is, it scrolls away from where you were (where you might have been about to mark a neighoring message as junk). It sounds like the wrong set of events is being used to scroll any selection into view. (E.g., using the up and down arrow to select the previous or next message and having the list scroll to the newly-selected message makes sense. However, the removal (or addition) of a message should probably _not_ reposition the list.) Reproducible: Always Steps to Reproduce: 1. Select a message in the message list. 2. Scroll away from the selected message. 3. Click on the mark-as-junk icon for another message (with things configured to remove the marked message from the current mail folder). Actual Results: The list scrolled to make the selected message (from step 1) visible. Expected Results: The list should have remained positioned approximately where it was before the second message was deleted. ("Approximately" allows for adjusting for the very beginning or end of the list, and for the fact that the junked message is gone, so the top and bottom visible items can't both be displayed what they displayed before the deletion.)
This sounds somewhat similar to bug 209748 -- but testing for this bug, which I reproduced easily, the symptom from that bug did not manifest.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter (Daniel B) -- are you still seeing this symptom? I've never been able to reproduce it.
(In reply to comment #2) > Reporter (Daniel B) -- are you still seeing this symptom? I've never been able > to reproduce it. Yes. I still see it with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 on Windows XP. Hmm. Too bad we can't see each other's screens to notice some possibly obvious difference in our setups. What steps did you perform to try to reproduce it?
I am seeing another problem with an unrequested scrolling but I think it is related. When you have one message selected in the middle of the list pane, switch to another folder and then come back, the list has scrolled up to put that selected message at the bottom of of the list. You then have to scroll down to see the rest (or end) of the list below this one. Well, I am seing this with Thunderbird/Linux. Should it be a new bug or can you reproduce it too in MailNews/XP?
Product: Browser → Seamonkey
Assignee: sspitzer → mail
Hrm. Looking back at this, I'm not sure why I posted comment 2 or what exactly I meant by comment 1. In TB, at least, this bug is easy to reproduce: bug 264973.
Assignee: mail → nobody
QA Contact: esther → message-display
You need to log in before you can comment on or make changes to this bug.