OpenFileRequester() is much to slow

Linux specific forum
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

OpenFileRequester() is much to slow

Post 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 ?
Fred
Administrator
Administrator
Posts: 16688
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Well, it seems to be a GTK issue no ? Did you tried with another GTK app ?
Irene
Enthusiast
Enthusiast
Posts: 461
Joined: Thu Oct 04, 2007 12:41 pm

Post 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
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post 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)
Post Reply