GNOME Bugzilla – Bug 167673
GtkFileChooserDialog slow to open my home directory
Last modified: 2005-02-18 16:44:19 UTC
Debian unstable, GTK+ 2.6.2, libgnomevfs2-0 2.8.3-11. Something seems wrong. When I run the following program, which opens a file chooser on my home directory, it hangs for a good 8-10 seconds before the watch pointer goes away. For almost all of that time, the GUI is blocked, and moving windows over top of the dialog shows that it is not responding to expose events. For comparison, the old file chooser widget loads my home directory instantly. My home directory has 262 non-hidden directories and 543 files in it of various types. It is not NFS mounted. int main (int argc, char **argv) { GtkWidget *chooser; gtk_init (&argc, &argv); chooser = gtk_file_chooser_dialog_new ("...slow...", GTK_WINDOW (window), GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (chooser), getenv ("HOME")); gtk_dialog_run (GTK_DIALOG (chooser)); gtk_widget_destroy (chooser); return 0; }
Vektor, could you please see the duplicate bug and get the strace logs that are mentioned in its last comments? *** This bug has been marked as a duplicate of 166601 ***