[Tickets #8196] Re: Dimp folder list never shows up when there is many (>1000) folders

bugs at horde.org bugs at horde.org
Fri Apr 17 07:57:35 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8196
------------------------------------------------------------------------------
  Ticket             | 8196
  Updated By         | clement.hermann at businessdecision.com
  Summary            | Dimp folder list never shows up when there is many
                     | (>1000) folders
  Queue              | DIMP
  Version            | 1.1.2
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


clement.hermann at businessdecision.com (2009-04-17 03:57) wrote:

> Why do you have >1000 folders?  This is what IMAP subscriptions are
> for.  This would probably be an issue, since not only do you have to
> process the JSON return with all this data, but you have to insert
> all those DOM elements into the page - which is a significant browser
> slowdown.
>
> In IMP it is not an issue because we don't need to load the entire
> folder list.  But to open a folder, it takes another page load so
> this adds a different layer of load.
>
> Theoretically we could workaround this - but at some point, too many
> folders will crash the display no matter how we implement.  This is
> no different than trying to view a 10 MB text message or a MIME part
> with 100 nested parts.  The best solution is, once a certain number
> of folders are reached, to tell the user they should be using less
> folders.

I agree, there should be a limit., but this is confusing for the user.

In Dimp, there is no way to work with only some folders (say, personal  
folder and no shared / other user namespace) and access the other  
folders in a more static way like in Imp.

In this case, there are shared folders with customer informations (a  
customer = a folder). They are nested (no more than 100 at a given  
level, so if it where possible to request and display only the top  
folders it would be ok.

I'm not that experienced in web programming (especially json, ajax  
etc), but isn't there a way to ask IMP the top folders list only, and  
to refresh the list only when a subfolder is requested ?

I know there is a hook to hide shared folders, but when using it, is  
there a way to access hidden folders (other than going to imp) ? Also,  
would this be a setting that could be changed for some users only ?


Regards,

Clément Hermann





More information about the bugs mailing list