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 487755 - Nautilus being stuck "Loading..." with hidden files
Nautilus being stuck "Loading..." with hidden files
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Views: List View
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 631352 643042 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-18 03:21 UTC by Karsten Bräckelmann
Modified: 2012-09-16 16:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
preliminary patch (5.89 KB, patch)
2011-02-27 19:28 UTC, Stefano Teso
none Details | Review

Description Karsten Bräckelmann 2007-10-18 03:21:35 UTC
Open Nautilus, switch to List View. Open a terminal, same dir. Create a folder
for debugging, see that folder appear.

$ mkdir debug

Expand the debug dir. See an "(Empty)" placeholder as the only child.
Collapse the dir again.

$ touch debug/file

Create a file, expand, see the just created file. This works...

$ rm -f debug/file

Remove that file. Getting the placeholder back. Collapse again.

$ touch debug/file~

Create a hidden backup file as the *only* file in that dir. Expand it another
time. This time, Nautilus is stuck at "Loading...", not properly showing the
dir does not contains (non-hidden) files.


Same with mutiple files, as long as all of them are hidden~ files.

Nautilus 2.20.0, eel 2.20.0.
Comment 1 Edwin ten Brink 2009-02-18 14:27:24 UTC
Still occurs in Nautilus 2.24.2.

Also applies also to .hidden files, not only hidden~ files.
Comment 2 Cosimo Cecchi 2009-02-22 23:13:55 UTC
Confirming with 2.25.92.
Comment 3 Kalin Agrawal 2009-06-17 17:33:13 UTC
Confirming with Nautilus 2.26.2
Comment 4 John Keller 2010-05-03 11:05:50 UTC
I also confirm, with Nautilus 2.28.1
Comment 5 Stefano Teso 2011-02-23 11:34:14 UTC
*** Bug 631352 has been marked as a duplicate of this bug. ***
Comment 6 Stefano Teso 2011-02-23 11:34:30 UTC
*** Bug 643042 has been marked as a duplicate of this bug. ***
Comment 7 Stefano Teso 2011-02-23 11:37:26 UTC
Confirming with 2.91.90
Comment 8 Stefano Teso 2011-02-27 19:28:59 UTC
Created attachment 182049 [details] [review]
preliminary patch

The attached patch fixes this issue. The problem is that nautilus_list_model_subdirectory_done_loading 
changes the "Loading..." dummy entry into "(Empty)" only when the loaded directory is empty, not when it _appears_ empty (i.e., contains only hidden files).

However, the patch works by passing some view settings (show_hidden, show_foreign) to the list model, which breaks the view/model separation.
Comment 9 William Jon McCann 2012-09-16 16:32:49 UTC
We don't have expanded folders any more in the list view. I can't reproduce this problem with the instructions. I'm going to close this. If it is still an issue please reopen.