Open Bug 294772 Opened 20 years ago Updated 15 years ago

Deleting message currently displayed in stand-alone msg window from another view sometimes closes message window when it shouldn't.

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: ashishkagrl, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514

Mozilla->Mails->message window not working properly.

Reproducible: Always

Steps to Reproduce:
1. Open Web Browser-Mails&News Groups-Mail Account
2. In any mail account, create a folder.
3. Make sure there are two or more mails in Inbox for this test.
4. Open the last mail from Inbox a in new window, by double clicking.
5. Without closing the message window, move the same message from Inbox to the
folder created in step 2.
6. This makes the message window to disappear. However when a open message is
moved to a different folder, the focus should move in cyclic order.


Actual Results:  
Message window closes when the last message in any folder is moved between folders.

Expected Results:  
Message window should not close when the last message in any folder is moved b/w
folders. Rather, the message window should focus on a different message in
cyclic order.
Attached patch PatchSplinter Review
This patch may solve the issue.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Status: RESOLVED → UNCONFIRMED
Resolution: EXPIRED → ---
Comment on attachment 184398 [details] [diff] [review]
Patch

Scott, could you please review this patch?
Attachment #184398 - Flags: review?(mscott)
Attachment #184398 - Flags: review?(mscott) → review?(bienvenu)
Comment on attachment 184398 [details] [diff] [review]
Patch

Thx for working on this! This is a good start, but I don't think this is quite the behavior we want.
In this case, I think the new last message should be selected - that's what would happen in the threadpane list. So I think the algorithm might look something like this, in the case that gNextMessageViewIndexAfterDelete doesn't have a key:

Determine the view index of the message that was deleted. If there's a message at that view index, select it. Otherwise, select the last message in the view. I think the core problem here is that because the delete is happening from another view, gNextMessageViewIndexAfterDelete is not set correctly for this view (it's probably not set at all - it's probably just set for the view where the delete is happening). Hope this makes sense; let me know if you have any questions.
Attachment #184398 - Flags: review?(bienvenu) → review-
the same bug is probably also in Thunderbird, but the fix should be the same.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Message window not working properly. → Deleting message currently displayed in stand-alone msg window from another view sometimes closes message window when it shouldn't.
unfortunately for us, Rupesh comments "Currently I am not working on Mozilla bugs."

see also bug 238100    	
QA Contact: search
Assignee: mail → nobody
QA Contact: search → message-display
Confirming for (X11; U; Linux i686; de; rv:1.9.1.5pre) Gecko/20091017 Lightning/1.0pre SeaMonkey/2.0.1pre
OS: Windows XP → All
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: