Opening new tab in gnome-terminal no longer open it in the same directory as the current tab
Submitted by Mildred
Link to original bug (#743724)
Description
This is a regression that was noticed by many people. When opening a new tab, the new tab doesn't share the same directory as the previous focused tab. For some, this is a major usability issue. I yet have to find a terminal as easy to use as the previous gnome-terminal.
Many say that to get the previous behaviour back, you just have to source /etc/profile.d/vte.sh in your initialization script. This is just not the same at all.
What it does is record each time you change your directory in any shell you are using and store this somewhere for the future tab you'll open.
The previous behavious did not that at all. What it did was to take the directory you were in on the tab that was focused, no matter if you had any activity with it recently or not, and use the same directory for the new tab.
The major use case that was broken by this change is: You work on different directories (for example, you have the source directory opened in a tab, a data directory on another, and a tool utility source dir on a third tab). All tabs are occupied with running processes (think tail -f or something that takes the prompt away). You want another prompt in the same directory as one of the opened tabs.
What you did was:
- focus on the tab that was in the directory you wanted to be
- hit Ctrl-Shift-T
What I have to do now
- focus on the tab that was in the directory you wanted to be (I still wants tabs coming from the same directory grouped in the tab bar)
- hit Ctrl-Shift-T
- type 'dirs -v'
- search for the directory I want to be in
- type 'cd -#' where # is the directory number I want to be in
That's great because I learnt the use of 'dirs -v', and I looked at many terminal emulators out there, but there is not so many concurrent software is good as gnome-terminal. Unfortunately, you developped in vte3 a feature that will make me stay: history line reflowing when the terminal size is changed.
Version: 3.14.x
Resolution: RESOLVED NOTABUG