Closed Bug 220173 Opened 21 years ago Closed 21 years ago

If new email comes in while reading a message in the preview pane, the message scrolls back to the start

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Thunderbird0.5

People

(Reporter: steve, Assigned: mscott)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; H010818)
Build Identifier: Mozilla Thunderbird 0.3 (20030923)

When reading a long email in the preview panel, should new mail be downloaded 
(which happens frequently) the message will scroll back to the start.  I don't 
recall this happening in TB 0.1, but it's happening in 0.2 and 0.3.

I've seen the problem on both systems I use - XP and W2000

Reproducible: Always

Steps to Reproduce:
1 When reading a long email in the preview panel, should new mail be downloaded 
(which happens frequently) the message will scroll back to the start.  I don't 
recall this happening in TB 0.1, but it's happening in 0.2 and 0.3.

I've seen the problem on both systems I use - XP and W2000


Expected Results:  
Not scroll back - it's annoying!
Confirmed, on Linux/x86, recent cvs build (don't have precise version to hand).
IMAP inbox.
OS: Windows 2000 → All
Hardware: PC → All
*** Bug 222186 has been marked as a duplicate of this bug. ***
This behavior also occurs when viewing messages in their own window, not just
the preview pane.

I am running Mozilla Thunderbird 0.3 (20031013) on WinXP.
*** Bug 224626 has been marked as a duplicate of this bug. ***
*** Bug 223402 has been marked as a duplicate of this bug. ***
Also occurring in ThunderBird 0.4a 11192003, Win32 (WinME).
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.5
As might be expected, this also happens when a new message arrives, is
interpreted to be junk and is moved to the Junk folder without activating the
'new message' announcement.

In latest instance, was reading a message in its own pane using ThunderBird 0.4a
20031119 under WinMe.

Glad to see it's targeted for 0.5 .
I just hit this when downloading a large folder over IMAP.  The preview pane
scroll position resets to the top each time an email is downloaded in the
background for junk mail filtering, so this rendered the preview pane mostly
unusable for a good 5 minutes while a couple thousand emails downloaded in the
background.
hmmm that sounds really weird. I wonder what would cause the docshell to reset
scroll position in the document....
*** Bug 230142 has been marked as a duplicate of this bug. ***
Slightly more careful examination, the 'event' that best synchronizes with the
change of scrolling is raising the Notification banner out of the system tray.
Attached patch the fixSplinter Review
Blocks: m6
*** Bug 231902 has been marked as a duplicate of this bug. ***
fix on the trunk and the M4 branch.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
*** Bug 231650 has been marked as a duplicate of this bug. ***
Comment on attachment 139760 [details] [diff] [review]
the fix

>+  var isAlreadyCollapsed = junkBar.getAttribute("collapsed") == "true";
We have .collapsed for this. (It's also a setter, while I mention it...)

>+  // simulate XOR
Since isJunk and isAlreadyCollapsed are both boolean then != works.

>+  return (isJunk && isAlreadyCollapsed) || (!isJunk && !junkBar);
!junkBar is meaningless here.
Is fixed in the Mozilla Thunderbird 0.5a (20040128) build on Windows.
Status: RESOLVED → VERIFIED
*** Bug 238766 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: