gnome-terminal opens new tab in 'pwd' of process in existing tab

Bug #362880 reported by to be removed
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
GNOME Terminal
Expired
Medium
gnome-terminal (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

Ubuntu version: up-to-date jaunty.

When I open a new tab in gnome-terminal (using shift-control-t), it attempts to open the new tab int he same working directory as the old one. If I am reading a manpage, the new tab opens up in /usr/share/man. It should open in the same directory as from where I ran man from (say, $HOME), not whatever directory man changes to internally.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: gnome-terminal 2.26.0-0ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
to be removed (liw) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Confirmed, terminator (terminal emulator) works fine with the same example.

Changed in gnome-terminal (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

I've sent this upstream at: http://bugzilla.gnome.org/show_bug.cgi?id=579291; Thanks for reporting Lars.

Changed in gnome-terminal:
importance: Undecided → Unknown
status: New → Unknown
Changed in gnome-terminal:
status: Unknown → New
Revision history for this message
elias (elias-uxmcc2) wrote :

The same as others. It used to work fine in previous releases 8.04 8.10

Changed in gnome-terminal (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
TJ (tj) wrote :

I've modified the title of the bug to more accurately reflect what is going on.

With the first tab running a process that is changing the "present working directory" (PWD) as it goes:

cd ~
pwd
/home/tj
find /usr/share -iname 'openshot*'

Opening a new tab whilst 'find' is still running ends up with a PWD in the /usr/share/ tree:

pwd
/usr/share/anjuta/project/terminal/src

summary: - gnome-terminal opens tabs with wrong working directory when using man
+ gnome-terminal opens new tab in 'pwd' of process in existing tab
Revision history for this message
Nicolò Chieffo (yelo3) wrote :

I'm sure this is fixed now

Revision history for this message
to be removed (liw) wrote :

Seems to be fixed now in karmic.

Changed in gnome-terminal (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-terminal:
importance: Unknown → Medium
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.