Bug 1480174 - Terminal doesn't remember the last working directory when opening a new tab
Terminal doesn't remember the last working directory when opening a new tab
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-terminal (Show other bugs)
7.4
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Debarshi Ray
Desktop QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-10 06:24 EDT by Mario Torre
Modified: 2017-08-13 12:36 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Video shocasing the issue (870.88 KB, application/octet-stream)
2017-08-10 07:06 EDT, Mario Torre
no flags Details

  None (edit)
Description Mario Torre 2017-08-10 06:24:38 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):

3.22.1

How reproducible:

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

Actual results:

Tab opens in $HOME

Expected results:

Tab should open in ~/Documents

Additional info:

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...
Comment 2 Vera Budikova 2017-08-10 06:30:26 EDT
I have tried it for gnome-terminal-3.22.1-2.el7.x86_64 and it works for me...
Comment 3 Mario Torre 2017-08-10 07:05:52 EDT
(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.
Comment 4 Mario Torre 2017-08-10 07:06 EDT
Created attachment 1311696 [details]
Video shocasing the issue

Note You need to log in before you can comment on or make changes to this bug.