GNOME Bugzilla – Bug 329430
files with just an extension as name are not visible
Last modified: 2006-02-21 13:14:43 UTC
Please describe the problem: When I try to open a file like .jpg (no name, just extension), I cannot find it using 'all files' filter. Steps to reproduce: 1. create file with only extension as file name in folder on drive e.g. .jpg 2. file | open 3. select folder or drive for images and 'all files' filter Actual results: you cannot find the .jpg file or file with only extension as filename Expected results: The file would be listed as .jpg or .<extension> under 'all files' Does this happen every time? yes Other information: If I rename the extension-only filename to e.g. x.jpg, I can find and open the file.
Files starting with a dot are hidden files. At least under UNIX, but let's assume you are on some kind of UNIX even though you failed to specify the operating system you are using. The file-chooser doesn't display hidden files by default. You need to enable the display of hidden files from the right-click menu.
I am on Windows XP Pro where there is no hidden files based prefix of dot. I did not know there was a right-click 'show hidden files' option in the files window. I found it and right-clicked 'show hidden files' and I can now see .jpg file without having to rename it. Resolved.
Perhaps someone should file a bug report against GTK+ asking to have the file-chooser fixed so that it only hides files which are hidden by the definition of the underlying filesystem.
This would be a genuine bug, because dotdirs are not hidden in the GTK+ file chooser on Windows, but dotfile are - at least with GTK+ 2.8.9.
Let's reopen this - I didn't find a GTK+ bug about it yet, but hadn't time for an extensive search. If there is none, we'll reassign this one.
Michael, please take care of reassigning this bug report. It doesn't belong to the GIMP product.
Dotfiles shouldn't be hidden in GTK+ 2.8.9: 2005-11-12 Tor Lillqvist <tml@novell.com> * gtk/gtkfilesystemwin32.c (filename_get_info): Don't hide dotfiles, no such convention on Win32. Just hide files with the hidden attribute. (#314627) (That was between 2.8.6 and 2.8.7) I also confirmed that I indeed see a file called .jpg just fine in GIMP's file selector dialog. *** This bug has been marked as a duplicate of 314627 ***