GNOME Bugzilla – Bug 321647
No way to expand directory with keyboard
Last modified: 2006-03-19 16:15:43 UTC
The new "expandable list view" is quite powerful and I use it a lot. What is a bit annoying is, that there is no way to expand a directory with the keyboard. The default for the Tree sidepane and the GTK treeview in general, seems to be that <space> expands. Currently this key is bound to open. But ... keys for opening a directory: * Alt-down * Space * Return * Ctrl-o Thus I think we could use Space for toggle expand. Other information: Besides Space being the most accurate solution concerning consistency, I would prefer Left, Right for expand. Using Up, Left, Down, Right for moving through a tree (or a expandable list) is *super* fast (and you only need one hand)! Currently Left, Right does vertical scroll, which would maybe be possible to omit if we do auto-centering of the column
Try '+' and '-'
Ooops, sorry for the noise! I tried a lot of keys, but I didn't thought of '+/-' :/ Anyway space may be nice. (1) for the sake of consistency and (2) space is easier to hit :)
Shift-Right/Left works as well
Created attachment 61061 [details] [review] gtk/gtktreeview.c arrow behaviour change I agree with the OP that the arrow keys should expand the list. Nautilus inherits its behaviour from GtkTreeView. I prefer to scroll the tree view horizontally with the Ctrl+arrows, since I do this much less. I've patched libgtk here so that it works this way and it's much nicer. Also the patch adds left arrow to go up a level on the tree if the current tree leaf is not an expanded node.
Comment on attachment 61061 [details] [review] gtk/gtktreeview.c arrow behaviour change Commenting to get it off the patch radar - If you want to propose that behaviour to the gtk+ guys, you have to create a bug there.
This one is actually a duplicate of bug 88314. *** This bug has been marked as a duplicate of 88314 ***