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 654700 - next/previous tab keyboard shortcuts
next/previous tab keyboard shortcuts
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Keyboardability
2.30.x
Other Linux
: Normal trivial
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-15 20:46 UTC by Carnë Draug
Modified: 2012-09-05 14:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make tab change action consistent with GTK's (4.57 KB, patch)
2012-09-05 04:37 UTC, William Jon McCann
committed Details | Review

Description Carnë Draug 2011-07-15 20:46:40 UTC
Hi

nautilus accepts both [Ctr+Alt+Page Up/Down] and [Ctr+Page Up/Down] to cycle between tabs. However, they have different behavior when at the last or first tab. The [Ctr+Page Up/Down] shortcut is not cyclical, moving to the next at the end doesn't go to the first tab as it happens when using [Ctr+Alt+Page Up/Down].

If it's confusing, here's how to replicate
1 - Open natilus
2 - Open a new tab
3 - Select the first tab
4 - Press [Ctr+Page Up]. Moves to the next tab.
5 - Select the last tab.
6 - Press [Ctr+Page Up]. Nothing happens.
7 - Select the first tab
8 - Press [Ctr+Alt+Page Up]. Moves to the next tab.
9 - Select the last tab.
10 - Press [Ctr+Alt+Page Up]. Moves to the first tab.

This is on Nautilus 2.30.1 on Debian stable (Squeeze).
Comment 1 André Klapper 2011-07-18 21:35:23 UTC
Just FYI, Nautilus 2.30 is obsolete (supported in upstream are 2.32 and 3.0) so a potential fix (if still an issue) will only be available in supported versions. 
Retesting with a recent version is welcome.
Comment 2 William Jon McCann 2012-09-05 04:37:33 UTC
Created attachment 223496 [details] [review]
Make tab change action consistent with GTK's
Comment 3 Cosimo Cecchi 2012-09-05 13:06:06 UTC
Review of attachment 223496 [details] [review]:

Thanks, looks good!

::: src/nautilus-notebook.c
@@ -534,1 @@
-	return nautilus_notebook_is_valid_relative_position (notebook, offset);

Can we also remove this now?
Comment 4 William Jon McCann 2012-09-05 13:15:17 UTC
Review of attachment 223496 [details] [review]:

::: src/nautilus-notebook.c
@@ -534,1 @@
-	return nautilus_notebook_is_valid_relative_position (notebook, offset);

Don't think so. It is used by the tab reordering code.
Comment 5 Cosimo Cecchi 2012-09-05 13:27:28 UTC
Review of attachment 223496 [details] [review]:

::: src/nautilus-notebook.c
@@ -534,1 @@
-	return nautilus_notebook_is_valid_relative_position (notebook, offset);

I mean nautilus_notebook_can_set_current_page_relative(), it looks like it's unused now.
Comment 6 William Jon McCann 2012-09-05 13:30:37 UTC
Review of attachment 223496 [details] [review]:

::: src/nautilus-notebook.c
@@ -534,1 @@
-	return nautilus_notebook_is_valid_relative_position (notebook, offset);

I did remove it.
Comment 7 Cosimo Cecchi 2012-09-05 13:35:53 UTC
Review of attachment 223496 [details] [review]:

Sorry for the noise; I was confused by the fact that git-bz showed it in blue instead of red. Looking at the diff, you're right :) Feel free to push