Closed
Bug 94662
Opened 23 years ago
Closed 23 years ago
IMAP: Undo/Redo does not work for imap::delete model
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: naving, Assigned: naving)
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
I found out that we are marking imap delete twice once before we go to the
server and once after, so it unsets during the deletion, and when we do undo it
sets back the delete flag. so we will have to decide which one we do not need
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
This case statement was responsible for setting the delete flag back on undo.
There is no need to send delete/move notification to front-end because we
do not select any message on undo/redo.
Also for undo/redo where delete model is not moving to trash the dstFolder will
be null. david, please review.
Assignee | ||
Comment 3•23 years ago
|
||
changing summary
Summary: IMAP: Undo delete when imap delete model is used does remove the X red → IMAP: Undo/Redo does not work for imap::delete model
Comment 4•23 years ago
|
||
the code you removed did much more than just send a notification to the front
end - it updated the database as well. Are you sure that's not needed either? I
think it also made it so that when you delete a message in the imap delete
model, the next message gets selected. Does that still work after your change?
Comment 5•23 years ago
|
||
OK, I take that last part back, since we shouldn't be trying to change the
selection on removing the deleted flag. But we want to reflect the change to the db.
Assignee | ||
Comment 6•23 years ago
|
||
Assignee | ||
Comment 7•23 years ago
|
||
I have checked deleting all msgs and undo delete still works. This will
prevent from setting the delete flag again when we are trying to subtract
it.
Comment 8•23 years ago
|
||
great, r=bienvenu
Assignee | ||
Comment 10•23 years ago
|
||
Karen, Well not really, it does not toggle
Assignee | ||
Comment 11•23 years ago
|
||
But the undo/redo part is fixed, may be you can change the summary on that
bug to make it toggle (only).
Comment 12•23 years ago
|
||
sr=mscott
Assignee | ||
Comment 13•23 years ago
|
||
fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 14•23 years ago
|
||
Verified on WinNT 08-15-06-trunk build.
Great! Now, Undo/Redo is working on IMAP Mark as deleted mode!
Status: RESOLVED → VERIFIED
Comment 15•23 years ago
|
||
And, I already updated bug 59694 for toggle only.
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•