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 557550 - Nautilus does not update icons on file creation by external program
Nautilus does not update icons on file creation by external program
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Desktop
2.24.x
Other All
: Normal major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-23 06:18 UTC by jazzor
Modified: 2009-03-07 13:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description jazzor 2008-10-23 06:18:40 UTC
Please describe the problem:
Initially, on a cold reboot, everything works fine. But after some time (20minutes or so) Nautilus Desktop will fail to update icons for files that were created NOT as a result of direct interaction with the user interface. For example unzipping a tar file with "extract archive here" on the Desktop will not update the desktop to show the new folder, or things like "echo blah >> /home/Desktop/testfile" will no longer show a new file.

File creation and deletion from direct interaction with the UI such as right clicking and "new file" or drag and drop responds fine.

Steps to reproduce:
1. Login and copy a non-empty tarball to the desktop
2. Wait 20 minutes or so (do something else)
3. Right click the tarball and do "extract here" (must have file-roller installed)
4. Notice that the new folder created does not appear on the desktop. It will appear after a manual "refresh".
5. Open a terminal and do "touch ~/Desktop/testfile"
6. testfile does not appear on desktop either.


Actual results:
Files that are created as a result of external programs do not appear on the desktop.

Expected results:
Desktop updates properly to reflect the actual contents of the Desktop directory.

Does this happen every time?
Yes. Reproducible much more easily on slower systems. Faster machines will also exhibit this behaviour but after a much longer time.

Other information:
It looks like some file monitoring callbacks might be lost. Using Gnome 2.24 with a live filesystem as root. This bug only exists on the Desktop folder (and the desktop view). No other folders have this issue.
Comment 1 jazzor 2008-10-24 10:22:12 UTC
Actually scrap what I said about it being Desktop only...
It seems like this is happening on normal folders too, but it is rarer because closing and reopening the nautilus view of a folder will make the problem go away temporarily again.
Comment 2 Diego Gaustein 2009-03-06 01:26:18 UTC
I also have this problem. Using nautilus 2.24.2 in Arch Linux. I'm not sure if it happens after some time, but I'm sure it happens on all folders and not just on the Desktop. 
Comment 3 Cosimo Cecchi 2009-03-07 13:55:47 UTC
This seem to work fine on 2.25.92 here, with the instructions provided. Closing as FIXED, please reopen if that's still an issue for you with a newer version, thanks.