6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1291] Folder dropdown sorted incorrectly
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..___. __..___. . _/ _/ (__ [__ |_/ ./__../__..__)| | \
Comment
> I've first noticed this bug with IMP 2.2, and later confirmed that it > is still present in the current version of IMP, 4.0.1. > > > > On my testing Cyrus IMAPD server, I created following mailbox > structure on the Cyrus IMAPD server for testing shared mailboxes (as > printed by cyradm's listmailbox command): > > > > bureq (\HasNoChildren) > > shared.foobar (\HasNoChildren) > > user.amilivojevic (\HasChildren) > > user.amilivojevic.Drafts (\HasNoChildren) > > user.amilivojevic.Sent Items (\HasNoChildren) > > user.amilivojevic.Spam (\HasNoChildren) > > user.amilivojevic.Templates (\HasNoChildren) > > user.foobar (\HasChildren) > > user.foobar.shared (\HasNoChildren) > > user.foobar.shared-to-all (\HasNoChildren) > > user.user2 (\HasChildren) > > user.user2.shr (\HasNoChildren) > > > > user.amilivojevic is my INBOX folder. bureq and shared.* folders > are, well, shared folders. Some of the other user's folders inside > user are also shared (folders with names ending with shared, > shared-to-all, and shr). > > > > The alternate namespace on Cyrus IMAPD is turned off. In IMP's > servers.php, folders and namespace are set to empty strings (I do > want users to see folders as subfolders of INBOX, since that is the > way their "normal" mail clients are set up). > > > > There were two problems with folder dropdown list. The first one > seems to be solved in current version (user top-level folder was not > displayed). > > > > The second problem is still present. The sorting is incorrect. > Dropdown box looks like this: > > > > INBOX > > bureq > > Drafts > > Sent Items > > Spam > > Templates > > shared. > > foobar > > user. > > foobar. > > shared > > shared-to-all > > user2. > > shr > > > > Clearly, this is not correct display. Subfolders of INBOX are > displayed as if they were subfolders of top-level "bureq" folder. > > > > If I expand the list of folders on the left pane, than I get correct > sorting and indentation. The bug seems to be present only in the > dropdown box that is located in the upper right corner of the page. > > > > BTW, would it be possible to have non-selectable mailboxes rendered > in different style (in left pane) and non-selectable in dropdown box? > For example, top-level user and shared, as well as user.foobar and > user.user2 are not selectable when I'm connected to Cyrus IMAPD as > amilivojevic (for example, Mozilla Thunderbird renders those folders > in grey, not allowing me to select them).
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers