Bug 245089

Summary: Implement Tree Traversal capabilities in Dolphin's Folder Panel
Product: [Applications] dolphin Reporter: Richard <shiningarcanine>
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: elvis.angelaccio, frank78ac
Priority: NOR    
Version First Reported In: 16.12.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Richard 2010-07-19 04:15:08 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

If you have a great number of nested folders, and you want to traverse all of them to do some kind of operation (e.g. deletion) on allof them, it is presently a pain in Dolphin to navigate. The folder panel is an improvement on the situation, but traversing a large directory tree in Dolphin in its current form is a pain.

I propose that the Folder Panel be modified to implement Collapse, Expand, Collapse All, Expand All context menu options and to allow easy traversal using a keyboard's arrow keys, with left being collapse, right being expand, up being to move up in what is being shown and down being to move down in what is being shown. I realize that symbolic/hard links could cause a problem, so I recommend that a depth first search be done on an Expand All operation, with directories being identified by their file system inode numbers, to eliminate the possibility that Dolphin would try to expand an infinite tree.

An additional feature that could also be implemented would to have Dolphin remember for the duration of its execution any expanded directories that had not been explicitly collapsed, such that if you use Expand All on a directory tree, Collapse on it and then Expand on it, the subsequent Collapse and Expand operations would cancel, and it would be as if you had never done them. This is necessary to have separate Collapse and Collapse All operations. Without it, the Collapse and Collapse All operations would be the same thing.

Reproducible: Always
Comment 1 Frank Reininghaus 2010-07-19 10:22:40 UTC
Thanks for the report!

Note that some parts of the functionality you mention are already available via the keyboard: "Arrow Right" expands the highlighted folder, pressing "*" repeatedly expands all subfolders succesively, "Arrow Left" collapses all subfolders (and remembers the expanded folders for future re-expansions), but only if the current folder is a subfolder of "/".
Comment 2 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:22:30 UTC
Resetting assignee to default as per bug #305719