Closed Bug 264973 Opened 20 years ago Closed 18 years ago

Message Pane scrolls back to selection after marking other message as junk

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows 98
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 209748

People

(Reporter: xslaugh, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

When marking an email as junk by clicking the junk icon in the message list,
Thunderbird deletes the email, then jumps back up to the last email selected.

Reproducible: Always
Steps to Reproduce:
1. Select an email at the top of the message list
2. Scroll down the list and find a junk message
3. Mark the message as junk by clicking the junk icon to the right of the
message subject

Actual Results:  
The message list jumped back up to the message selected in the first step.

Expected Results:  
It should have stayed where the junk mail was, so that you can the continue
marking other messages as junk without having to scroll back down to where you were.
It's not actually the focus that's changing.

Also: if the selection consists of more than one message, not only does the 
message pane scroll back but the selection changes to just one (the last? 
the most recently selected?) message in the earlier selection.

The behavior only occurs if a message is being marked as junk *and* JMC is 
configured to automatically move or delete junk.  Marking as Not Junk, marking 
as Read/Unread or Flagged/Unflagged, or marking as Junk where JMC leaves the 
junk message in place, does not scroll the view or change the selection.

The same behavior occurs if junk mail exists in the folder, a selection exists 
outside of the current view, and Tools | Delete Mail Marked as Junk is used; 
see bug 200138.

xref bug 209748, bug 211495
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Focus jumps to selected message after marking message as junk → Message Pane scrolls back to selection after marking other message as junk
This still happens on Linux (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8)
Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4) and Windows (1.0.5).  

- I have a message selected and viewed in the preview pane.  
- scroll down and mark a message as Junk.
- it gets automatically moved to the Junk folder.
- The selection up at the top moves to the next message.

This is not a show stopper, but it is very annoying in two respects.  1) It
means that I have to scroll down again to where I was marking Junk mail and 2)
it marks the newly displayed message as read (when I haven't yet) so I have to
remark the newly displayed message as unread.
And it happens with 1.0.6 also. This is avery annoying bug.
Please stop posting "this bug is still present."  It will continue to be present 
until such point as someone provides a patch.

The recent fix for bug 280153 makes this bug a little more visible (in the trunk 
and pre-1.5 builds) -- it used to be that, if you switched to a folder (without 
"remember last message" enabled), no item would be selected or even 'current'; 
in this case, marking a message as junk would not cause a scroll to the 
'current' message.  Now that a "current" indicator is always set, there is 
always a 'current' message to be scrolled back to; and unlike the symptom 
described in bug 304676, that message is always selected *and loaded*.

xref bug 302516 comment 13.
Mark as dup of fixed bug 209748

*** This bug has been marked as a duplicate of 209748 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.