Created .hidden folder/file stays visible after being created/deleted

Bug #28429 reported by georg
76
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Nautilus
Invalid
Low
nautilus (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

1st bug: created .hidden folders in the Desktop folder appears on The Desktop (Hide all windows and show the desktop) and stays visible even if deleted
2nd bug: deleting a just created .hidden folder while "show hidden files" is unchecked stays visible in the file manager until a refresh.

- Desktop folder : ~/Desktop
- The Desktop : Hide all windows and show the desktop

How to reproduce: (using nautilus)
- With or without view > show hidden files checked (does not matter)
1. Create a folder .testfolder in the Desktop folder
visible on The Desktop (1st bug)
2. delete this folder
- Although the folder does not appear in the file browser, it stays visible on The Desktop (1st bug)

- With view > show hidden files unchecked
Create a folder named .testfolder in any location and then delete it
- The folder stays visible in nautilus until a refresh (2nd bug)

Notes:
1. The above steps produce the same bug for created documents (right click > create document ..)
2. Using the rm/mv commands to delete or move the folder created from nautilus also requires a refresh to hide them in nautilus (the folder is replaced with a file of unknown type and undetermined permissions)

Version information:
Ubuntu Feisty
original reported on dapper by georg and KarlGoetz

Tags: desktop
Revision history for this message
Sebastien Bacher (seb128) wrote :

*** Bug 28430 has been marked as a duplicate of this bug. ***

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. What do you call "hide" for a directory? Can you describe
some steps to get that issue?

Revision history for this message
georg (piece) wrote :

This happens only when option "show hidden files and backup
files" is turned off. All operations are performed with
nautilus.
Create a directory test and rename it to .test. It disapears
after a refresh, but if you delete .test before you see it
still where it was (source directory). If you check that in a
terminal you find out .test is moved to trash. Refresh and
perform the trick again with the same names. After deleting
the new .test directory you can see it again in the source
directory, but with the name .test (copy).
When "show hidden files and backup files" is enabled it does
work as expected. I found it trying to reproduce a crash of
nautilus.

Revision history for this message
KarlGoetz (kgoetz) wrote :

I have reproduced this bug, and if you rename a directory "untitled folder" to ".test" it holds the old name.
I did the test on my desktop, and a log out is required to refresh the 'directory'.
if you double click "untitled folder" it opens with teh path Desktop/.test . press up (a level) and look - its hidden in nautilus but still visible on the desktop.
i'm using gnome 2.14 on Dapper

Revision history for this message
Daniel Holbach (dholbach) wrote :

In http://bugzilla.gnome.org/show_bug.cgi?id=309856 upstream has a partly explanation for this.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Is this still a problem in Edgy or Feisty?

Changed in nautilus:
assignee: seb128 → desktop-bugs
Revision history for this message
Mahmoud Kassem (mmkassem) wrote : Re: created .hidden folders/files stays visible after being moved/deleted

Yes, this bug is reproducible on Feisty. I modified the description to include more details.

description: updated
Revision history for this message
Mahmoud Kassem (mmkassem) wrote :

A logout is not required to refresh the The Desktop view (Hide all windows and show the desktop), killing nautilus (killall nautilus) will refresh it.

Revision history for this message
Mahmoud Kassem (mmkassem) wrote :

The bug is for backup files (filename~) too if they were manually created using nautilus.

Changed in nautilus:
importance: Medium → Low
status: Needs Info → Unconfirmed
Revision history for this message
Mahmoud Kassem (mmkassem) wrote :

Why was the bug status changed unconfirmed from Need info?
I think the information provided is enough to confirm it.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Somebody should forward it usptream.

Changed in nautilus:
status: Unconfirmed → Confirmed
Revision history for this message
etteyafed (gdefayette) wrote :
Changed in nautilus:
status: Unconfirmed → Unknown
Changed in nautilus:
status: Unknown → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue in hardy? could you describe easy steps to trigger the bug there?

Changed in nautilus:
status: Confirmed → Incomplete
Revision history for this message
KarlGoetz (kgoetz) wrote : Re: [Bug 28429] Re: created .hidden folders/files stays visible after being moved/deleted

On Wed, June 25, 2008 17:49, Sebastien Bacher wrote:
> is that still an issue in hardy? could you describe easy steps to
> trigger the bug there?
>
> ** Changed in: nautilus (Ubuntu)
> Status: Confirmed => Incomplete
>

I think i may have a system i can test on. i'll try again RSN hopefully.

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: created .hidden folders/files stays visible after being moved/deleted

did you try whether that's still an issue or not?

Revision history for this message
KarlGoetz (kgoetz) wrote :

Sorry, i dont have access to any hardy systems. i'll ask someone who does to try it out.
kk

Revision history for this message
PaulSchulz (paulschulz) wrote :

I can confirm in Hardy...

1) Create 'untitled file' on desktop with nautilus.
2) Rename to '.test'

After a short delay.. 'untitled file' is now called '.test', and appears in the directory listing in nautilus, and on the desktop (as '.test').

3) Toggling the 'show hidden' option (show hidden/hide hidden), removes '.test' from the folder list in nautilus, but it is still displayed on the desktop.

Changed in nautilus:
status: Incomplete → Triaged
Revision history for this message
Stewart Johnston (stooj) wrote :

This also happens the other way around, which might be a more important
use-case.

Move a hidden folder from the /home directory to /home/Desktop
Rename the folder on the Desktop, removing the first period (.)

The folder does not show up until a logout/login again/restart nautilus etc

This bug is present in 9.04

Changed in nautilus:
importance: Unknown → Medium
Changed in nautilus (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Revision history for this message
Dominik (dominik.k) wrote :

I can only confirm the first bug (not the second) on Ubuntu 12.04. The upstream bug was wrong (about not showing hidden files on desktop).

summary: - created .hidden folders/files stays visible after being moved/deleted
+ Created .hidden folder/file stays visible after being created/deleted
Revision history for this message
rotsee (leo-wallentin) wrote :

Also affects Nautilus 3.14.2 on Ubuntu 15.04.

Changed in nautilus:
importance: Medium → Low
status: Confirmed → Invalid
Revision history for this message
Paul White (paulw2u) wrote :

Upstream bug is a duplicate of #342819
which is showing "RESOLVED FIXED" on 2016-03-02
Tested ok with Ubuntu 18.04 and nautilus 3.26.4
Marking "Fix Released" to close

Changed in nautilus (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.