Red Hat Bugzilla – Bug 1480174
Terminal doesn't remember the last working directory when opening a new tab
Last modified: 2017-08-13 12:36:43 EDT
Description of problem:
When opening a new tab in gnome-terminal, the tab is opened pointing in $HOME, no matter what was the directory I was in while creating the new tab. This seems to have changed since the previous RHEL 7.3.
Version-Release number of selected component (if applicable):
Open gnome-terminal, go in a directory, i.e. ~/Documents, then press the default key combination to create a new tab: CTRL+SHIFT+t, the new tab opens in $HOME, it should instead open in ~/Documents.
Steps to Reproduce:
1. in gnome-terminal, go in a directory, i.e. ~/Documents
2. open a new tab
Tab opens in $HOME
Tab should open in ~/Documents
I'm sure this behaviour changed since at least 7.2, it makes the terminal very hard to use since I need to continually go back to the previous tab to check the pwd, this is sometime not possible, for example when checking log files or using some pagination or editing files in the terminal, etc...
I have tried it for gnome-terminal-3.22.1-2.el7.x86_64 and it works for me...
(In reply to Vera Budikova from comment #2)
> I have tried it for gnome-terminal-3.22.1-2.el7.x86_64 and it works for me...
That's very strange. This is a fresh install, I also created a new user to rule out some configurations, I'm attaching the video to showcase the issue.
Created attachment 1311696 [details]
Video shocasing the issue
Not a bug. FAQ entry: https://wiki.gnome.org/Apps/Terminal/FAQ#How_can_I_make_new_terminals_start_in_the_working_directory_of_the_current_terminal.3F