Closed
Bug 102735
Opened 25 years ago
Closed 25 years ago
Trash sorting reverts to default after Empty Trash (IMAP)
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: laurel, Assigned: naving)
Details
Attachments
(1 file)
|
1.85 KB,
patch
|
Bienvenu
:
review+
|
Details | Diff | Splinter Review |
Using Oct2 0.9.4 commerical branch build
Related: bug 88251 for POP3
After you Empty Trash on IMAP account, the trash folder sort will revert to
default sort.
Steps:
1. In mail window, login to IMAP account where account settings are set to Move
to Trash.
2. Open Trash folder and change the sort -- change to Sender or Subject,
something other than default.
3. Go to INBOX, delete some messages.
4. Open Trash folder, see deleted messages are there.
5. File|Empty Trash. Trash folder cleared.
6. Select another folder and return to Trash folder. Note the Trash folder
sort is now reverted to default date sort. This happens whether or not there
are new/deleted contents or no contents in trash folder.
| Assignee | ||
Comment 3•25 years ago
|
||
| Assignee | ||
Comment 4•25 years ago
|
||
The fix is to transferInfo before getting rid of the database. I have also
changed openFolderDB call in nsImapMailFolder::GetDatabase because we
should not immediately try to upgrade, as we do in localFolder and newsFolder,
I think that is the right way to go.
cc bienvenu for review.
Status: NEW → ASSIGNED
Comment 5•25 years ago
|
||
the second part of the fix looks fine. I'm not convinced about the change to
openFolderDB. Is it required for the fix? Your change might not matter, or it
might work better, or it might work worse - I'm not really sure...
| Assignee | ||
Comment 6•25 years ago
|
||
The change to openFolderDB is independent of this bug. I found that we are
not doing the same for local & news, so we should not be upgrading unless
the db is out of date or missing.
Comment 7•25 years ago
|
||
Comment on attachment 55010 [details] [diff] [review]
proposed fix
I'm a little leery about changing that upgrading flag if nothing is broken, but I agree that it seems like the right thing to do. r=bienvenu
Attachment #55010 -
Flags: review+
| Assignee | ||
Comment 8•25 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
OK using nov19 commerical trunk build: win98, mac OS X, linux rh6.2
Status: RESOLVED → VERIFIED
Updated•22 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•