Page 1 of 1

OpenFileRequester() is much to slow

Posted: Sun Oct 28, 2007 6:07 pm
by walker
When I use OpenFileRequester() on a directory which contains approx. 15000 images it took approx. 120 to 130 seconds (after opening the filerequester) until the filerequester responds again!!! :shock:

If I use the PB file commands and read the same directory with examinedirectory() and put the result in a ListIcongadget, it tooks not more than 1 second....8) .. though I add the filesize and the date...

Is there a chance to fix that ?

Posted: Mon Oct 29, 2007 8:40 pm
by Fred
Well, it seems to be a GTK issue no ? Did you tried with another GTK app ?

Posted: Mon Oct 29, 2007 9:00 pm
by Irene
Fred wrote:Well, it seems to be a GTK issue no ? Did you tried with another GTK app ?
Seems to be true Frederic. I just made a 4Mb test picture, made a script that copied it to 2000 other instances and tried to access the folder through GIMP and it was super slow O_O

Posted: Mon Oct 29, 2007 9:23 pm
by walker
@Fred: you're right... it's a GTK issue... tried The Gimp with the same Directory... and can go out for a coffee ... :wink:

I guess I have to write my own FileRequester until this is Fixed by the GTK-team.... :cry:

[EDIT]
FYI: I'd reported this to the GTK+ team... Bug number is 491512 (bugzilla)