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 142227 - Spatial: Navigating "up" should select folder in parent window
Spatial: Navigating "up" should select folder in parent window
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Navigation
2.6.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-10 01:20 UTC by Matt Brubeck
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Makes alt-up select current window's icon in parent window (1.08 KB, patch)
2004-10-09 06:34 UTC, Jimmy Do
none Details | Review
Fixes spatial alt-up selection in parent window (8.02 KB, patch)
2004-10-15 22:58 UTC, Jimmy Do
none Details | Review

Description Matt Brubeck 2004-05-10 01:20:09 UTC
Steps to reproduce:

1. Open a folder in a spatial Nautilus window.
2. If the folder's parent is open, close it (or unselect the child's icon).
3. In the folder's window, press Alt+Up or Alt+Shift+Up to open its parent.

Results: The original folder is not selected in the parent's window.
Expected results: The original folder is selected in the parent's window.

Note: Non-spatial windows have the expected behavior (see bug 47921).

Fixing this would make keyboard navigation in spatial windows easier.  Currently
after going "up", it is difficult to go back down to the original folder.  If
this bug is fixed, then you could just press "down" to back (as you can in
non-spatial Nautilus).
Comment 1 Jimmy Do 2004-10-09 06:34:27 UTC
Created attachment 32423 [details] [review]
Makes alt-up select current window's icon in parent window

This patch fixes the bug. Turns out that open_location() in
nautilus-window-manage-views.c wasn't correctly setting a window's list of
pending selections if the newly-created window was a spatial window. Setting
do_load_location to false was causing that piece of code to be skipped over.
The patch re-arranges the code to fix that.
Comment 2 Jimmy Do 2004-10-15 22:58:45 UTC
Created attachment 32663 [details] [review]
Fixes spatial alt-up selection in parent window

Here's a more thorough patch that correctly reveals the new selection whether
or not the parent window is already open.
Comment 3 Alexander Larsson 2004-10-21 11:02:55 UTC
Fix in cvs.