On Thu, Apr 20, 2006 at 12:49:33PM -0400, Justin Pryzby <[EMAIL PROTECTED]> 
wrote:
> You *can* type in a path, without "wading through the directory
> structure", but it doesn't help much, since that just is just as slow:
> it just puts you in the directory with the given entry highlighted.
> 
> One reason firefox is so slow doing this is that it reads 4k from
> every binary:
> 
> [ ... ]
> | open("/usr/bin/lsusb", O_RDONLY|O_LARGEFILE) = 42
> | fstat64(42, {st_mode=S_IFREG|0755, st_size=75884, ...}) = 0
> | mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb4ac6000
> | read(42, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0P\215\4"..., 4096) 
> = 4096
> | close(42)                               = 0
> | munmap(0xb4ac6000, 4096)                = 0
> | gettimeofday({1145551160, 874913}, NULL) = 0
> [ ... repeat for a minute or two ... ]
> 
> WTF?
> 
> Perhaps this is a gtk filechooser bug?

Indeed it is. But it is also very dumb to ask to choose an application
to run with the filechooser. A list of applications available in the
desktop menu would be much more useful.

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to