6.0.0-beta1
7/4/25

[#3581] IMAP tree sort order
Summary IMAP tree sort order
Queue IMP
Queue Version HEAD
Type Enhancement
State Resolved
Priority 3. High
Owners Horde Developers (at) , slusarz (at) horde (dot) org
Requester jan (at) horde (dot) org
Created 03/08/2006 (7058 days ago)
Due
Updated 02/16/2007 (6713 days ago)
Assigned 04/18/2006 (7017 days ago)
Resolved 02/16/2007 (6713 days ago)
Milestone 4.2
Patch No

History
02/16/2007 08:20:12 AM Michael Slusarz Comment #23
State ⇒ Resolved
Reply to this comment
Added the final piece - allowing a user to create namespaces in base 
level of public/shared has the blank namespace.



Closing ticket.  Further issues should be opened in new tickets.
02/14/2007 11:43:07 PM Jan Schneider Comment #22 Reply to this comment
Works really great now.
02/14/2007 07:39:21 PM Michael Slusarz Comment #21 Reply to this comment
But it works now, yay! I do think though, that we shouldn't sort the
Shared Folders, Public Folders and Virtual Folders into the normal
folders, but display them at the end of the tree instead.
This has been finished.
02/14/2007 09:29:44 AM Jan Schneider Comment #20 Reply to this comment
Warning: Missing argument 1 for _getnamespace() in
/home/jan/headhorde/imp/lib/IMAP/Tree.php on line 1860
Should be fixed, hopefully correct.
02/14/2007 09:26:11 AM Jan Schneider Comment #19 Reply to this comment
Warning: Missing argument 1 for _getnamespace() in 
/home/jan/headhorde/imp/lib/IMAP/Tree.php on line 1860



But it works now, yay! I do think though, that we shouldn't sort the 
Shared Folders, Public Folders and Virtual Folders into the normal 
folders, but display them at the end of the tree instead.
02/10/2007 11:07:33 PM Jan Schneider Comment #17 Reply to this comment
No, I don't have altnamespace enabled. My namespaces look like:

(("INBOX." ".")) (("user." ".")) (("" "."))

With altnamespace it would look like:

(("" ".")) (("Other Users." ".")) (("Shared Folders." "."))
02/10/2007 10:38:03 PM Michael Slusarz Comment #16 Reply to this comment
Are your shared/public folders showing up under a separate folder 
entitled "Shared Folders" or "Public Folders"?  Those folders will be 
located alphabetically in your folder list.
02/10/2007 12:25:49 AM Jan Schneider Comment #15 Reply to this comment
No more error messages, but the sorting is still unchanged.
02/09/2007 08:03:38 PM Jan Schneider Comment #13 Reply to this comment
Nothing changes if I turn the pref on. After loggin in again, I get 
the following warning:

Warning: Invalid argument supplied for foreach() in 
/home/jan/headhorde/imp/lib/IMAP/Tree.php on line 1141

The sorting still doesn't change though.
02/09/2007 06:28:59 PM Michael Slusarz Comment #12 Reply to this comment
Initial code committed to HEAD.
11/24/2006 06:22:33 PM Michael Slusarz Comment #11
Summary ⇒ IMAP tree sort order
Reply to this comment
I haven't yet decided the final display details.  And I'm thinking 
this should be a preference.
11/24/2006 06:08:28 AM Chuck Hagenbuch Comment #10 Reply to this comment
Michael, what are your current thoughts on this?
04/18/2006 10:14:28 AM Jan Schneider State ⇒ Assigned
 
03/28/2006 05:41:49 PM Michael Slusarz Comment #9
Priority ⇒ 3. High
Reply to this comment
Jan provides a good framework to start playing around with.  Bumping.
03/24/2006 07:11:16 PM Chuck Hagenbuch Comment #8 Reply to this comment
I agree with what Jan said.
03/22/2006 03:48:33 PM Jan Schneider Comment #7 Reply to this comment
I just compared Outlook, Thunderbird, KMail, and Mail.app. None of 
these is hiding the namespaces, so they don't have any problems with 
this. I still think it's a good idea that we *do* hide them.

I don't think it would get too cluttered if we mix hiding namespaces 
and grouping namespaces. The namespaces should be grouped at the end 
of the folder list under top level containers with some meaningful 
name (Shared Folders, Public Folders), like Virtual Folders is now 
already. I also think we should move the vfolder container to the 
bottom of the list too. They really aren't regular folders, so 
"hiding" them between the other folders doesn't get us anywhere and is 
confusing IMO.
03/14/2006 01:41:46 AM Michael Slusarz Comment #6 Reply to this comment

[Show Quoted Text - 9 lines]
I think this is starting to get too cluttered.  We either need to let 
users be able to manipulate all the namespaces (which we don't 
currently allow the user to do - see, e.g., hiding personal namespaces 
from user; not being able to add folders to a private namespace if it 
is the "blank" namespace) or hide all namespace information from the 
user (which is our current UI plan).  Adding "containers" for 
different namespaces starts to mix the two.
03/12/2006 07:21:46 AM Michael Slusarz Assigned to Horde DevelopersHorde Developers
 
03/12/2006 07:21:25 AM Michael Slusarz Comment #5
Priority ⇒ 1. Low
State ⇒ Feedback
Type ⇒ Enhancement
Reply to this comment
This is not a bug - rather, it is a UI issue.
03/08/2006 10:29:37 PM Matt Selsky Comment #4 Reply to this comment
What if we create a container for each namespace?



-- Personal --

Inbox.a

Inbox.z

-- Public --

m



Or does that create tou much clutter?
03/08/2006 09:51:25 PM Jan Schneider Comment #3 Reply to this comment
I personally find it confusing, but I know what namespace this folder 
is coming from. And the old behaviour was different, that confused me 
too.



I'm fine with it if the change was intended, but I'm still not sure if 
it is a good idea. Even if people shouldn't have to know about 
namespaces, it might be desirable for the user to distinguish 
private/personal folders from public/shared folders. Dunno.
03/08/2006 03:56:16 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
I think you are incorrect - this is actually a feature that was quite 
annoying to code.  Take this example given your namespaces:

INBOX.a   (private)

INBOX.z    (private)

m          (public)



Since we strip private namespaces when displaying folders, our folder 
list will actually looks like this when outputting to the screen:

a

z

m



Showing folders like this is obviously *very* confusing - why is m 
sorted after z?  So we need to show folders like the following:

a   (INBOX.a)

m  (m)

z    (INBOX.z)



Which should be what we are doing now.  So you are correct that we are 
mixing personal and private namespaces, but that's perfectly fine and 
actually desired.
03/08/2006 03:44:44 PM Jan Schneider Comment #1
Priority ⇒ 1. Low
State ⇒ Assigned
Assigned to Michael Slusarz
Queue ⇒ IMP
Summary ⇒ Wrong tree sort order
Type ⇒ Bug
Reply to this comment
I'm sorry, but sorting is broken again. Folders from the public 
namespace are sorted into the personal folders.



NAMESPACE (("INBOX." ".")) (("user." ".")) (("" "."))

Saved Queries