Page MenuHomePhorge

Avoid unindenting special folders.
ClosedPublic

Authored by mollekopf on Wed, May 15, 9:09 AM.
Tags
None
Referenced Files
F12292461: D4698.id13518.diff
Tue, May 21, 5:15 PM
F12289434: D4698.id13519.diff
Tue, May 21, 1:03 PM
Unknown Object (File)
Mon, May 20, 3:44 PM
Unknown Object (File)
Sat, May 18, 3:19 PM
Unknown Object (File)
Thu, May 16, 6:55 AM
Unknown Object (File)
Thu, May 16, 2:30 AM
Unknown Object (File)
Thu, May 16, 2:21 AM
Subscribers
None

Details

Summary

In case of an INBOX.Spam folder this will otherwise reparent INBOX
folders under the now toplevel Spam folder, or in other words break the
folder hierarchy.

Diff Detail

Repository
R113 roundcubemail
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mollekopf created this revision.

All special folders are supposed to be displayed as top-level folders on top of the list. No matter they are in fact top-level folders or not.

This fix is for Settings > Folders, but the screenshot in the ticket shows an issue in Mail view too. So, this tells me that's not a proper fix.

If I set some sub-folder as a Spam folder on a system without the INBOX. prefix I got it as expected. So, this is somehow namespace prefix related. Anyway, I'd suggest to investigate rcube_imap::sort_folder_list().

This revision was not accepted when it landed; it landed in state Needs Review.Wed, May 15, 11:49 AM
This revision was automatically updated to reflect the committed changes.