Page MenuHomePhorge

Avoid unindenting special folders.
ClosedPublic

Authored by mollekopf on May 15 2024, 9:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 24, 8:57 AM
Unknown Object (File)
Mon, Jun 24, 8:43 AM
Unknown Object (File)
Sat, Jun 22, 7:16 PM
Unknown Object (File)
Sat, Jun 22, 11:01 AM
Unknown Object (File)
Thu, Jun 20, 2:38 PM
Unknown Object (File)
Sun, Jun 16, 5:51 AM
Unknown Object (File)
Sat, Jun 15, 8:50 PM
Unknown Object (File)
Thu, Jun 13, 4:22 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.May 15 2024, 11:49 AM
This revision was automatically updated to reflect the committed changes.