GNOME Bugzilla – Bug 137520
Visual hint during directory load needed
Last modified: 2011-02-04 16:16:32 UTC
I would like to see some kind of visual hint after double-clicking a directory causing it to be loaded. Several times I have found myself wondering if I was too slow (== did two single clicks) and re-double-clicked, only to end up selecting whatever is later shown at that screen location. Yes, NFS is that slow.
I'm working on this.
This is a brutal way of doing things, but it works pretty well. --- gtkfilechooserdefault.c.~1.159.~ Wed Mar 17 15:54:16 2004 +++ gtkfilechooserdefault.c Fri Mar 19 13:40:28 2004 @@ -3608,6 +3608,10 @@ { if (impl->browse_files_model) { + gdk_window_clear (gtk_tree_view_get_bin_window (GTK_TREE_VIEW (impl->browse_files_tree_view))); + while (gtk_events_pending ()) + gtk_main_iteration_do (FALSE); + g_object_unref (impl->browse_files_model); g_object_unref (impl->sort_model); }
No, that's on crack. I just fixed it on CVS.
Reopening and attaching the patch; this should not go in until after 2.4.1.
Created attachment 25815 [details] [review] Patch that adds a "finished-loading" signal to GtkFileFolder
Also attaching an untested patch to add support for this to GtkFileSystemGnomeVFS. It builds; I don't know if it works.
Created attachment 25816 [details] [review] Patch to implement finished-loading in GtkFileSystemGnomeVFS
Committed both patches.