Closed
Bug 171711
Opened 22 years ago
Closed 22 years ago
Delete in standalone window only works once
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mikepinkerton, Assigned: naving)
References
Details
(Keywords: regression, Whiteboard: [adt1])
Attachments
(1 file, 2 obsolete files)
1.38 KB,
patch
|
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
- open mail in standalone window
- click delete (it'll delete and advance to next message)
- click delete again
expected:
- second message deleted
actual:
- nothing happens
you have to close the standalone window and open it again for delete to work,
and then it'll only work once.
build from 9/29/02, macosx
I see this as well with build 2002-09-30-10 on Windows 2000, IMAP.
I enabled JS dumps, strict warnings (both in chrome and web content), and
nothing stands out.
OS: MacOS X → All
Hardware: Macintosh → All
keyword lovin' - regression and nsbeta1
Keywords: nsbeta1,
regression
Pink, care if I dup this to bug 90539? Looks like that bug at least has a TM.
Comment 4•22 years ago
|
||
90539 could be similar, but I'm not sure since that mentions the delete key only
and it's old. This is definitely with the delete toolbar button. We should try
to fix this asap. If this is happening in 90539 then this is probably happening
on the branch. Stephen, can you see if the latest branch build has this problem,
too?
Using 2002092010, windows trunk, i am seeing this too. Noticed it in the last
couple of trunk builds.
Could bug 27417 (When tree item deleted, next item should be selected(selection
should not be destroyed)) be at all related? Since once the first msg is
deleted, the 2nd msg (the one now being displayed in standalone) is no longer
selected in 3 pane?
Scott, Delete using the toolbar button on the branch's Windows 2000 build with
the 'Move message to Trash' IMAP delete model works fine with the 30th build.
Comment 7•22 years ago
|
||
thanks for looking at that Stephen. So, this is most likely a pretty new bug.
Comment 8•22 years ago
|
||
taking - I'm strongly suspect I sr'ed the change that caused this.
Assignee: ssu → bienvenu
Comment 9•22 years ago
|
||
-> Navin
OK, I suck - I should really have insisted on my objections to the patch that
caused this.
the problem is that in the standalone window, m_deletingRows is never cleared in
the stand-alone msg window view, so subsequent deletes won't ever work.
Assignee: bienvenu → naving
Assignee | ||
Comment 10•22 years ago
|
||
The fix is to call nsMsgDBView::OnDeleteCompleted for messageWindow just like
we do for 3 pane and also check for mTreeSelection in OnDeleteCompleted because
stand alone window will have mTreeSelection as null.
Comment 12•22 years ago
|
||
Comment on attachment 101186 [details] [diff] [review]
proposed fix
r=cavin.
Attachment #101186 -
Flags: review+
Assignee | ||
Comment 13•22 years ago
|
||
missed out failure case in the last patch.
Attachment #101186 -
Attachment is obsolete: true
Assignee | ||
Comment 14•22 years ago
|
||
missed out failure case in the last patch.
Assignee | ||
Comment 15•22 years ago
|
||
Comment on attachment 101192 [details] [diff] [review]
proposed fix, v2
wrong patch.
Attachment #101192 -
Attachment is obsolete: true
Updated•22 years ago
|
Attachment #101193 -
Flags: superreview+
Comment 16•22 years ago
|
||
Comment on attachment 101193 [details] [diff] [review]
proposed fix, v2
sr=bienvenu
Assignee | ||
Comment 17•22 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Verified FIXED with the 2002-10-01-08 builds on:
Mac OS X 10.1.5, Windows 2000 and RedHat 8.0 Linux.
Tested:
POP3 - works fine.
IMAP - 'Mark as Deleted', 'Move it to the Trash folder' and 'Remove it
immediately' delete models.
Note that 'Mark as Deleted' doesn't advance to the next message after a mark,
but that's bug 150462. Both 'Move it to the Trash folder' and 'Remove it
immediately' work as expected now with IMAP.
Verified FIXED
Status: RESOLVED → VERIFIED
*** Bug 171067 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•