Bug 491289

Summary: When deleting a email, the function of Undo/Redo does not work for imap folders
Product: Red Hat Enterprise Linux 5 Reporter: Cao, Chen <kcao>
Component: thunderbirdAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED NOTABUG QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: ndai
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-07 14:20:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cao, Chen 2009-03-20 09:05:22 UTC
Description of problem:
When delete a email, the function of Undo/Redo does not work for imap folders.

Version-Release number of selected component (if applicable):
thunderbird-2.0.0.21-1.el5.i386


How reproducible: 
100% reproducible


Steps to Reproduce:
1. create a imap account in thunderbird, refer Additional info for the details of the mail account used to reproduce the issue.
2. ge some other account to send mails to this account, and select a message by click on it
3. go to Edit->Delete Message
4. go to Edit->Undo Delete Message
5. go to Edit->Redo Delete Message


Actual results:
the mails can be delete by step 3, but the deletion cannot undo/redo.

Expected results:
After step 4, the deleted message will be moved back into the folder from trash.
after step 5, the message has been moved into Trash again


Additional info:
1.
account used to setting thunderbird:
name: fedorathunderb
password: redhatqa
2.
google server info:
imap.gmail.com (security: ssl)
smtp.gmail.com:587
3.
locale en_US.utf-8 and zh_CN.utf-8

Comment 1 Matěj Cepl 2009-04-06 23:29:14 UTC
How do you set up deleting emails (marking as deleted, move to trash, delete immediately)?

Comment 2 Cao, Chen 2009-04-07 01:39:55 UTC
"move it to trash folder".

besides, 
1.
if I select "All Mail", and choose a mail to delete, it does disappear from the "All Mail" folder. 
2.
then I click on "Starred" folder and click "Spam", and then click on "All Mail" folder again, the deleted mail appears in "All Mail" again.