Bug#504808: GtkFileChooser: doesn't show removed folder on list, but shows it on completion

Marco Túlio Gontijo e Silva marcot at riseup.net
Fri Nov 7 14:34:24 UTC 2008


Em Sex, 2008-11-07 às 15:23 +0100, Josselin Mouette escreveu:
> Le vendredi 07 novembre 2008 à 10:20 -0200, Marco Túlio Gontijo e Silva
> a écrit :
> > Using this simple code, or any fileChooser instance with
> > GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER:
> > 
> > #include <gtk/gtk.h>
> > 
> > int main (int argc, char **argv) {
> >   GtkWidget *window, *fileChooser;
> >   gtk_init(&argc, &argv);
> >   window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
> >   fileChooser
> >     = gtk_file_chooser_widget_new(GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER);
> >   gtk_container_add(GTK_CONTAINER(window), fileChooser);
> >   gtk_widget_show_all(window);
> >   gtk_main();
> >   return 0;
> > }
> > 
> > * Create a folder foo
> > * Run the program
> > * Remove folder foo
> > * Start typing in Name: f
> > 
> > The folder will not be on the list of files, but it'll complete it when you
> > start typing.
> 
> Does it happen with the gnome-vfs filesystem backend, or only with the
> gtk+ backend?

I've tested gnome-vfs with ssh, and in this case it only updates the
list when you go out and in of the folder, so at least the completion is
integrated with the list.

Maybe it's another bug that with gnome-vfs+ssh it's not updating the
list when something is changed, but I think it's a more natural
behaviour.

Greetings.
-- 
marcot
http://marcot.iaaeee.org/








More information about the pkg-gnome-maintainers mailing list