[ltp] Firefox/Thunderbird filepicker solution

Richard Neill linux-thinkpad@linux-thinkpad.org
Tue, 24 Jan 2006 10:25:49 +0000


Marius Gedminas wrote:
> On Tue, Jan 24, 2006 at 03:51:35AM +0000, Richard Neill wrote:
> 
>>>>>>BUT, it still takes 25 seconds to appear! There's some sort of timeout 
>>>>>>going on: nothing at all happens for 23 seconds, and then there is 
>>>>>>about 2 sec of disc/cpu activity. Subsequent times are much faster, 
>>>>>>until Fx is restarted.
>>>
>>>The new GNOME file picker does a scan through all of the current directory
>>>(usually your home) every time it opens. :(  I guess the people that wrote
>>>this have much more organized home directories than the rest of us, as it
>>>consistently takes ~ 30 seconds to come up on my laptop as well.
>>
>>That can't be it. I'm on a fresh install with a fairly small /home (even 
>> if it is recursively scanning all subdirectories!). The thing is, 
>>there is no disk activity during this period. It "smells like" a timeout.
> 
> 
> Precisely.  My home directory is pretty messy and takes a while to load,
> but the file chooser pops up nearly instantly, and I can navigate to
> other places (with Ctrl+L, or bookmarks) while it is still loading my
> home directory.
> 
> Does this timeout also happen when you use the file chooser from other
> GNOME applications, not just Firefox and Thunderbird?
> 

No - it's just Fx,tbird. Gimp is fine.  It also only happens the first 
time that Fx/tb use the filepicker. Subsequent uses only take 2 seconds.

Richard