Closed Bug 23089 Opened 25 years ago Closed 24 years ago

selecting "undo" after deleting message causes trash folder to load

Categories

(MailNews Core :: Backend, defect, P2)

All
Other
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.8

People

(Reporter: waterson, Assigned: naving)

Details

(Keywords: perf, Whiteboard: [nsbeta1+])

I'm not sure if this is a bug ofr a feature, but selecting "undo" after deleting
a message causes the "trash" folder to be stealthily opened and downloaded in
the background. This slows the products responsiveness significantly! (If you
have a large trash folder, like I do ;-)

Anyway, logging this a s a bug. If it's not a bug, just INVALID it.
Status: NEW → ASSIGNED
This may not be a bug. In theory, copying messages to the trash folder doesn't
require to select the trash folder (meaning loading). However, undo a delete
requires to store the deleted flag to the message which must be done in the
selected state. This basically the reason to open the trash folder in the
background. I'll look into to make sure this is the case.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
In order to be able to undelete a deleted message we have to store the deleted
flag to the message copied to the trash folder. To do that the trash folder
needs to be in a selected state. That's the reason why we are loading the trash
folder in the background. Marking this bug as wontfix.
We need to be in the selected state, but that doesn't mean we have to download
all the headers. remember liteSelect?
Status: RESOLVED → REOPENED
Okay, I'll look into that. Thanks for reminding.
Resolution: WONTFIX → ---
Target Milestone: M14
Status: REOPENED → ASSIGNED
Fix checked in. Make sure we are in selected state by using lite select service 
then refresh the folder if needed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
QA Contact: lchiang → esther
Ugh, I'm seeing this again with IMAP. Symptoms are:

1. Delete message from inbox
2. Choose "Edit -> Undo Delete Message"
3. Trash folder loads in the background.

Furthermore,

4. While folder is loading in the background, new messages that get selected as 
a result of a "delete" operation do not display. You can *force* a message to 
display by clicking on them in the thread pane, but the "autodisplay" that 
should happen (delete+select next) doesn't work.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
PDT: Because (4) creates a very confusing application state, I think we should 
consider this a beta blocker.
Keywords: beta1
I don't know if this helps but, after switching to another folder, all of the 
messages I had previously "autoselected" by clicking delete showed up in rapid 
succession in the message pane. After which, switching back to my Inbox returned 
things to "normal". Looks like maybe operations are being queued up somewhere?
Putting on PDT- radar for beta1.
Whiteboard: [PDT-]
Status: REOPENED → ASSIGNED
Target Milestone: M14 → M18
Beta 1 has come and gone, and this didn't get resolved. However, this should 
make the nsbeta3 cut under "correctness." Removing Beta1 keyword, nominating for 
nsbeta3 and "correctness."
Keywords: beta1correctness, nsbeta3
Keywords: mail2
Please retest.
Whiteboard: [PDT-] → [b3 need info]
laurel - here is an undo case.
I don't see this behavior using linux rh6.0, aug08 m18 commercial build. Am
using IMAP, new profile, MoveToTrash.
per mail triage, reassign to naving.  Perhaps we can mark this "worksforme" per 
Laurel's recent findings?
Assignee: jefft → naving
Status: ASSIGNED → NEW
mark wfm
Status: NEW → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → WORKSFORME
Interesting.  I know I can't make this happen again, but I am seeing this in the 
9/26 Win32 MN6 build.  I deleted a message and undid the deletion.  Now, the 
unread count on my Trash folder is incrementing and I'm not currently doing 
anything in the mail windows (Inbox selected).  One thing I did before this was 
that I was in 4.x mail and used it to delete a few messages before I started 
Netscape 6.

this happened to me yesterday - undo is still (or again) doing a select of the
trash and downloading headers.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
clearing b3 need info - b3 has passed.  Should we nominate for rtm?
Whiteboard: [b3 need info]
sorry for the extra email. Removing mail2 keyword.
Keywords: mail2
I'd love for this to be fixed by mozilla1.0...
Keywords: mozilla1.0
I'll look at this.
Assignee: naving → bienvenu
Status: REOPENED → NEW
Keywords: mail1
changing priorities
Priority: P3 → P2
change qa contact to myself
QA Contact: esther → sheelar
marking nsbeta1+ and moving to mozilla0.8
Keywords: nsbeta3nsbeta1, perf
Whiteboard: [nsbeta1+]
Target Milestone: M18 → mozilla0.8
reassigning to naving.
Assignee: bienvenu → naving
fix checked in
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
verified on win98(2001020508),mac(2001020512),linux(2001020512)
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.