Closed Bug 132098 Opened 23 years ago Closed 23 years ago

IMAP: Can't Undo/Redo delete message for 'remove it immediately' model

Categories

(SeaMonkey :: MailNews: Message Display, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: sfraser_bugs, Assigned: naving)

Details

(Keywords: dataloss, Whiteboard: [ADT2])

Attachments

(1 file)

Trying to undo the deletion of a mail message almost always fails for me. I'm deleting using the Delete key in the thread pane of the 3-pane window. IMAP. My IMAP delete model is 'Delete immediately'. The Undo menu item is enabled, suggesting that Undo should work, but it never does. This is a serious dataloss bug for me.
Keywords: dataloss, nsbeta1
this works fine for me on Windows, in the brief testing I just did. Undo, redo, etc., in inbox and other folders. It might be mac-specific, or recreating it could be more involved.
QA Contact: esther → huang
Discussed at Mail News bug meeting with Engineering, QA Mktng and PjM. Decided to plus this bug.
Keywords: nsbeta1nsbeta1+
Priority: -- → P2
Target Milestone: --- → mozilla1.0
jfd, as our mac expert, can you investigate?
Assignee: sspitzer → ducarroz
I am seeing the same behavior on windows and mac (latest builds) and that is we have to switch to another folder and come back to see the header. taking.
Assignee: ducarroz → naving
OS: Mac System 9.x → All
Hardware: Macintosh → All
Yes I'll...
Assignee: naving → ducarroz
jf, this is not a mac specific problem, and I am seeing what the problem is. taking again. This is not a dataloss because header is seen on switching folders, so undo is working, but header is not downloaded so it is not seen immediately.
Assignee: ducarroz → naving
The fix for Undo is to download the header for 'remove it immediately' model. For Redo to work, we need to delete the header from db for this model, so changed it from DeleteIsMoveToTrash to !ShowDeletedMsgs().
Status: NEW → ASSIGNED
Summary: Can't Undo delete message → IMAP: Can't Undo/Redo delete message for 'remove it immediately' model
Attached patch proposed fixSplinter Review
Comment on attachment 76239 [details] [diff] [review] proposed fix r=bienvenu, this looks like the right fix to me. For regression testing, we should make sure that doing a shift delete and undoing it works in all the delete models.
Attachment #76239 - Flags: review+
shift delete and undo shift delete works for all three models.
Comment on attachment 76239 [details] [diff] [review] proposed fix sr=mscott
Attachment #76239 - Flags: superreview+
Comment on attachment 76239 [details] [diff] [review] proposed fix a=dbaron for trunk checkin
Attachment #76239 - Flags: approval+
Discussed in Mail News bug meeting. Decided to ADT1 this bug.
Whiteboard: [ADT1]
ADT2 per ADT triage.
Whiteboard: [ADT1] → [ADT2]
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified on Windows 05-12-20-pr1 Linux 05-12-23-pr1 Mac 05-12-17-pr1
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: