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 552496 - when opening a new tab, always switch to it
when opening a new tab, always switch to it
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Tabs
2.23.x
Other All
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-16 13:22 UTC by David Prieto
Modified: 2015-10-26 16:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
simple patch (519 bytes, patch)
2008-10-07 09:21 UTC, Christoph Reiter (lazka)
none Details | Review
patch with gconf and preferences->behaviour settings (5.47 KB, patch)
2008-10-07 09:22 UTC, Christoph Reiter (lazka)
needs-work Details | Review

Description David Prieto 2008-09-16 13:22:12 UTC
Originally sent to launchpad: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/270676

Nautilus supports tabs now. To open a new tab you middle-click a folder. Yet, I find myself switching to new tabs right after opening them, 99% of the times. That's two actions I have to perform, so I think it would be handier to automatically switch to new tabs.

You might argue that web browsers don't do this. I think the user case is different here: with web browsers, I usually open a link on a new tab because I want to keep reading the current page but I might read something on the new tab afterwards. If I open a tab on Nautilus, that's usually because I want to do something on the new tab now but might go back to the old tab later.

Other information:
Comment 1 Christoph Reiter (lazka) 2008-10-07 09:21:15 UTC
Created attachment 120099 [details] [review]
simple patch

patch
Comment 2 Christoph Reiter (lazka) 2008-10-07 09:22:36 UTC
Created attachment 120100 [details] [review]
patch with gconf and preferences->behaviour settings

patch with gconf and preferences->behaviour settings
Comment 3 Calum Benson 2008-10-09 13:27:27 UTC
> You might argue that web browsers don't do this.

Not by default, but they generally offer it as a preference.  (The two I use most often, Firefox and Safari, certainly do.)

> think the user case is different here: with web browsers, I usually open a link on a new tab because I
> want to keep reading the current page but I might read something on the new tab afterwards. If I 
> open a tab on Nautilus, that's usually because I want to do
> something on the new tab now but might go back to the old tab later.

I agree that 'switch by default' is probably a sensible behaviour for Nautilus.   

There are certainly times, though, when I want to open a number of a folder's sub-folders, each in their own tab.  In that case, the auto-switching would be annoying, as I'd have to keep switching back to the parent folder, then opening the next sub-folder.

So, perhaps a modifier would be more useful than a preference?  I.e. middle-click = create tab and switch, but Shift-middle-click = create tab and don't switch?

If you still wanted to add the preference as well, then the modifier could just be used to reverse the default behaviour.  (This is how Safari does it.)
Comment 4 Alexander Larsson 2008-10-13 11:43:50 UTC
Switch by default and shift-middle-click for the other case sounds like a good solution to me.
Comment 5 David Prieto 2008-10-14 20:05:01 UTC
I agree with Alexander's solution.
Comment 6 A. Walton 2009-01-13 21:46:34 UTC
Setting patch statuses as discussed above.
Comment 7 Christoph Reiter (lazka) 2015-10-25 16:39:00 UTC
Comment on attachment 120100 [details] [review]
patch with gconf and preferences->behaviour settings

Nautilus 3.18 (at least) switches to new tabs immediately. There is no way to get the old behavior, but maybe this can be closed anyway.
Comment 8 Carlos Soriano 2015-10-26 16:59:56 UTC
Comment 7 is correct. Closing.thanks!