﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1488134	_listMailboxes  in rcube_imap_generic.php is too slow.	Mythics		"Hello,

Due to an improper directory structure on my end, an issue arose with our latest update where users are unable to go into folder management within RC. 

The reason for this issue is due to hundreds of folders/files showing up as mail related, when they are in fact not. 

As this issue was always due to one specific 'root' directory, we could exclude it from being dug through by manually editing roundcube. 

We can still do this, but the speed at which the _listMailboxes function runs is significantly reduced since our last version of RC (I believe it was still .4).

The IMAP command runs instantly and the results are returned nearly instantly as well, but the parsing process of the function seems to be causing these issues (potentially tokenizeResponse, but I'm unsure).

As I can not immediately restructure every user's home directory, is this something I could easily fix myself with proper direction? My php knowledge is still quite limited, but I was able to easily track down this as the bottleneck for our situation.

Is this something we can expect to be fixed in a new release in the near future? 

Thanks in advance.

PS: I labeled this as a bug only because I couldn't imagine this kind of speed reduction being intentional."	Bugs	closed	3	0.7-beta	IMAP connection	0.5.4	major	fixed	imap folders list slow speed listmailboxes _listmailboxes bottleneck performance	
