Hi, On Wed, 2008-10-29 at 10:13 +0100, Martin Christensen wrote: > I'm getting pretty annoyed when starting Rawstudio at work where we use > AFS. In case you're not aware, AFS is a networked file system, where the > /afs node in one's file system lists every registered AFS cell in the > world. An strace reveals that when starting Rawstudio, it attempts to > list every one of these AFS cells, which is unbearably slow. I suspect > that it might be the directory tree widget on the Open tab that is the > culprit: it's very common for that kind of widget to delve at least one > step into each directory level that it can see in order to determine if > it needs to put a '+' (or whatever) by the directory name to show that > it can be expanded. Don't you think it would be possible to delay the > initialisation of this directory tree widget until the Open tab is > actually displayed? That would help a lot. So far, Rawstudio has been > loading for half an hour... :-)
RSDirSelector is not very efficient. We can do something about that - and we can background the population of the tree, to avoid blocking the UI. We could try to avoid AFS-filesystems - but i don't believe much in hacking around these corner-cases. For a quick fix, one could use rs_dir_selector_set_root() to set another root than "/". It's not very tested, but maybe it will work as expected :) /abrander _______________________________________________ Rawstudio-dev mailing list [email protected] http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev
