GNOME Bugzilla – Bug 337622
file chooser should hide files listed in .hidden
Last modified: 2007-04-04 20:11:20 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/gtk+2.0/+bug/38091 "nautilus hides files/folders that are listed in a file called .hidden in the current folder. the file-chooser (open/save) should do the same. ... > What version of Ubuntu do you use? That should work fine with current GTK as pointed by http://bugzilla.gnome.org/show_bug.cgi?id=129170 upstream ... all this is in current dapper: as root: cd / ls > .hidden removed home and tmp from the .hidden file now open nautilus as normal user, - navigate to /, - you only see home and tmp open gedit, file->open, click on File Sytem -> list of all folders and files in / -> rightclick -> show hidden files, you will see .hidden too." dapper has GTK 2.8.16
Same problem in fc5
hmm, this used to work, and the code for reading .hidden files is still there.
I didn't break it, since all my changes are on HEAD (and there it works fine). Note that this appears to be broken in gtk+ 2.8.x.
*** This bug has been marked as a duplicate of 314820 ***
federico, are you sure that's a duplicate from that crasher?
This bug is certainly not a duplicate of bug 314820. Reopening. This bug is still present in gtk 2.10.11.
(In reply to comment #6) > This bug is certainly not a duplicate of bug 314820. Reopening. This bug is > still present in gtk 2.10.11. how do you tell? have you tested with the GtkFileSystemUnix backend?
> how do you tell? have you tested with the GtkFileSystemUnix backend? By using Open in gedit and browsing to the directory that has the .hidden file in it. I'm using the gtk that's used with Ubuntu Feisty; no clue what backend that's using.
try browsing the same directory with the tests/testfilechooser test case compiled from gtk+; that code forces the usage of the unix backend instead of the gnome-vfs one (even though chances are that you are using the latter).
I just tried it; browsing that directory with tests/testfilechooser hides the directories specified in .hidden. Is it by choice that this is not the behaviour with the gnome-vfs backend?
no, it's a bug in the GtkFileSystemGnomeVfs backend provided by libgnomeui. see bug #314280 which has a patch but must still be reviewed. closing this bug, as the support for .hidden files is known to work in the gtk-2-10 branch and in trunk as well.