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 329430 - files with just an extension as name are not visible
files with just an extension as name are not visible
Status: RESOLVED DUPLICATE of bug 314627
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.8.x
Other All
: Normal minor
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-02-01 06:25 UTC by Dwight Walker
Modified: 2006-02-21 13:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dwight Walker 2006-02-01 06:25:25 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.
Comment 1 Sven Neumann 2006-02-01 09:07:44 UTC
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.
Comment 2 Dwight Walker 2006-02-01 10:31:55 UTC
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.
Comment 3 Sven Neumann 2006-02-01 18:27:52 UTC
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.
Comment 4 Michael Schumacher 2006-02-01 20:01:30 UTC
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.
Comment 5 Michael Schumacher 2006-02-03 17:50:52 UTC
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.
Comment 6 Sven Neumann 2006-02-14 11:30:56 UTC
Michael, please take care of reassigning this bug report. It doesn't belong to the GIMP product.
Comment 7 Tor Lillqvist 2006-02-21 13:14:43 UTC
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 ***