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 586067 - Remember tree layout in List View when browsing back or forward.
Remember tree layout in List View when browsing back or forward.
Status: RESOLVED DUPLICATE of bug 309800
Product: nautilus
Classification: Core
Component: Views: List View
2.26.x
Other Linux
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-16 23:08 UTC by Kalin Agrawal
Modified: 2010-05-03 10:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Kalin Agrawal 2009-06-16 23:08:25 UTC
+++ This bug was initially created as a clone of Bug #557462 +++

Bug: The "List View" (tree-based view) layout of files/directories in Nautilus is not retained when browsing back or forward in the Browser Mode or when re-opening the directory in Spatial Mode.

The state of visibility for the directories with visible contents in List View should remain visible when viewing that directory again.

-----------------------
Additional Information
-----------------------

In Spatial Mode, if a directory is open, showing List View, then re-opening that directory from another Nautilus window simply brings the existing open directory to the front.  This does not disturb the tree's layout.  This is the way it should appear even if that window had been closed then reopened.
Comment 1 John Keller 2010-05-03 10:09:01 UTC
This would be more interesting to generalize: keep the state of the folded/unfolded folders persistent across all sessions. Though it may be easy to describe and hard to implement, I think this would be a big win for frequent users of the list view.

State is already saved for view (icon, list, compact; sort order; etc), as well as for children in its view (emblems). I'd expect that folded/unfolded state could be saved in the same way as emblems, in the parent of the affected folder (thereby saving some iterations when displaying a folder with several child folders):

1. For each folder, save the folded/unfolded state of its child folders.
2. When opening folder "x" in list view, unfold its children marked with this state.
3. For each child with children of its own that are unfolded, unfold them.
4. Repeat recursively.
Comment 2 Cosimo Cecchi 2010-05-03 10:29:06 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 309800 ***