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 699094 - New tab does not inherit present working directory
New tab does not inherit present working directory
Status: RESOLVED DUPLICATE of bug 697475
Product: gnome-terminal
Classification: Core
Component: general
3.8.x
Other Linux
: Normal major
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-28 05:33 UTC by Andrea Ratto
Modified: 2013-04-28 10:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrea Ratto 2013-04-28 05:33:19 UTC
Hello,
when working deep down a folder hierarchy, up to 3.6 opening a new tab will still keep you in the same folder.

This is extremely useful, for example, if when working on a project you use one tab to edit files, another attached to the logs, another with a shell for miscellaneous commands. A pretty common use case, I think.

I personally used this feature a lot, but I understand that technically a new tab could be used for something completely different. Sadly it is a matter of typing "cd" to get to the home dir, instead of finding one's way back to the previously used folder. 
I think that the nautilus "open terminal" feature existence testifies to the difficulty for users of navigating the filesystem in the shell.

Some possible ideas:

1. revert to the behaviour as in gnome 3.6. I do not know if this is just a regression or it was intentional.
2. add a new menu item: "open a new tab in this directory"
3. add an option to choose which behaviour is preferred
4. set the OLDPWD variable in the new terminal to the pwd of the origin tab, this way running a "cd -" will take you back. Simple and explicit.

I think that no one would be upset by 3. or 4.

Thank you.
Comment 1 Christian Persch 2013-04-28 10:51:23 UTC
Please read https://live.gnome.org/Terminal/ReportingBugs before reporting bugs.

*** This bug has been marked as a duplicate of bug 697475 ***