GNOME Bugzilla – Bug 706255
New hidden folder is shown as "Untitled Folder"
Last modified: 2013-09-08 16:16:34 UTC
To reproduce, create a new hidden folder, e.g. ".anything" The folder will be properly created, but it incorrectly display as "Untitled Folder"
I can confirm with nautilus 3.6.3-0ubuntu16
This bug also happens when having "show hidden files" option unchecked and renaming a file, eg. renaming "name.txt" to ".name.txt" will cause the file still be displayed as "name.txt" although the rename completed succesfully.
Created attachment 254398 [details] [review] Fix for the issue This fix is working fine for me. It updates nautilus view "show file" logic to accept a hidden file (despite show_hidden_files option set to false) if the hidden file is already visible in the view (and we use the current file selection to check for that, as it happens all rename usecases maintain the file selected).
I'll take the opportunity to link to some related bugs: bug 389812, bug 334667, bug 342819 An idea for fixing them all: display an in-app notification telling the user that the renamed file just became a hidden file, with an [Undo] button (maybe also a 'Learn More' link to documentation about hidden files). Provided an obvious way to undo, I don't see a reason to keep the now-hidden file visible.
thanks Antonio for the links, will try to get them in order.
*** This bug has been marked as a duplicate of bug 342819 ***