Closed Bug 536892 Opened 15 years ago Closed 11 years ago

When renaming a folder, "sort by" settings are lost

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 82262

People

(Reporter: mozilla, Unassigned)

References

Details

(Whiteboard: [datalossy])

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.15) Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15
Build Identifier: 2.0.0.23 (20090817)

When renaming a folder, "sort by" settings (Subject/Date/Sender, Ascending/Descending Threaded/Unthreaded) are lost

Reproducible: Always

Steps to Reproduce:
1. Create a folder
2. Fill it with a couple of message
3. Set sort-by to "Date, Descending, Threaded"
4. Rename Folder

Actual Results:  
Sort-by reverts to the default ("Date, Ascending, Unthreaded")

Expected Results:  
Sort-by setting should stay even after rename
This might be by design, as we might rebuild the folder db when a folder is renamed and that could reset the settings.
We could still copy the settings. Are these local or imap folders?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Imap folders.
ah, ok, that's a bit trickier, given the nature of imap, but it could be done somehow. We'd need to remember the settings, and then apply them once we'd run folder discovery and discovered the new imap folder.
(In reply to David :Bienvenu from comment #4)
> ah, ok, that's a bit trickier, given the nature of imap, but it could be
> done somehow. We'd need to remember the settings, and then apply them once
> we'd run folder discovery and discovered the new imap folder.

There are a series of related bug reports
- Bug 82262 - IMAP Renaming folder unsets its charset
- Bug 758228 - selected imap folder becomes unselected after folder rename
- Bug 391641 - Renaming an IMAP folder loses favorite folder flag
- Bug 705080 - Moving/renaming/deleting a folder removes moved/deleted/renamed folder from virtual folder, and if last search target folder, the virtual folder is deleted
Whiteboard: [datalossy]
renaming an imap folder doesn't try to maintain any information currently. It gets a bit more complicated when you rename a folder hierarchy.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.