After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622009 - Gnome file selector does not honor `.hidden` files
Gnome file selector does not honor `.hidden` files
Status: RESOLVED DUPLICATE of bug 596234
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other Linux
: Normal normal
: Small fix
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2010-06-18 15:27 UTC by P. Lorenz
Modified: 2010-06-23 22:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description P. Lorenz 2010-06-18 15:27:22 UTC
The Gnome file selector (file-chooser dialog) does not honor `.hidden` files.

In Nautilus it is possible to hide files and folders by listing the files in a `.hidden` file in the directory where they reside.  This feature is very useful in order to reduce information overflow for ordinary users.

The problem is that files hidden this way are still listed in file dialogs. In such dialogs the problem of too much information is even bigger than in Nautilus as the file dialog is smaller, and the chance that the user have to resort to
time consuming scrolling to find the file he needs is higher.

Reproduce:
1) create a folder within your home directory
2) create a file `.hidden` within the same directory and add the name of the new folder to it
3) refresh Nautilus -> the directory is not shown (when not showing hidden files)
4) open gedit or any other Gnome application that uses the default file chooser
5) select open file or any menu item to open a file chooser dialog

Actual result:
The explicitly hidden folder is listed in the dialog.

Expected result:
Consistent behavior of hiding files listed in the .hidden filen file selection
dialogs as well as in Nautilus windows. That is, the test folder from above would not show up in file chooser unless the option 'Show hidden files' is enabled.

Version:
I'm seeing this inconsistent behavior here on an up-to-date Ubuntu running Gnome 2.30.

Additional information:
The issue was already reported by Uno Engborg in 2005 and was marked as Resolved/Obsolete (Bug 314280). The original bug was reported against libgnomeui (now deprecated isn't it) though. Obviously it is not solved and still present.
Comment 1 André Klapper 2010-06-18 19:14:11 UTC
File chooser simply has nothing to dow tih nautilus. It's gtk.
Comment 2 P. Lorenz 2010-06-18 20:50:10 UTC
Sorry for any confusion. I was not able to find a suitable product/component for this and Nautilus (as it uses .hidden files) seems appropriate for me. Feel free to reassign it. Thanks.
Comment 3 Allan Day 2010-06-23 22:50:32 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 596234 ***