Newly created folders are not added alphabetically
Categories
(Thunderbird :: Folder and Message Lists, defect, P1)
Tracking
(thunderbird_esr140? affected, thunderbird139 affected, thunderbird141 affected)
People
(Reporter: aleca, Unassigned, NeedInfo)
References
(Regression, )
Details
(Keywords: regression)
After bug 1846550 newly created subfolders are not added alphabetically.
4:06.05 INFO: Last good revision: a315c1a09a8f9d780b3d28621cd68ce1bdd7ee4c
4:06.05 INFO: First bad revision: 61cd87a2f6d0121a6784303b7c6b94e0e11939fc
4:06.05 INFO: Pushlog: https://hg.mozilla.org/comm-central/pushloghtml?fromchange=a315c1a09a8f9d780b3d28621cd68ce1bdd7ee4c&tochange=61cd87a2f6d0121a6784303b7c6b94e0e11939fc
Marking this as S2 since the sorting order can be changed, so it's not an inescapable state, just annoying.
That is done by a new function folderPane.setSortOrderOnNewFolder(parentFolder, newFolder)
added to mail/base/content/about3Pane.js
Reporter | ||
Updated•2 days ago
|
Reporter | ||
Updated•2 days ago
|
Reporter | ||
Comment 2•2 days ago
|
||
I can't seem to reproduce this anymore.
My folders order was badly mangled due to bug 1972709, so I had an incorrect initial state.
After resetting the proper order the newly created folders (both IMAP and local) are correctly added alphabetically.
Comment 3•14 hours ago
|
||
Could you please check this functionality works as expected for you and close out if the problem cannot be recreated?
I found a code that might be the cause.
// Skip special folders so new folders don't get created before them.
.filter(folder => folder.flags & Ci.nsMsgFolderFlags.SpecialUse)
Martin, isn't this filter condition the opposite?
This may happen if there is a special folder in sibling folders.
Description
•