Bug 182579

Summary: New tab opens in wrong directory
Product: [Applications] konsole Reporter: Vivien Mallet <Vivien_Mallet>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: a.m.p.boelens, burn.till.skid
Priority: NOR    
Version: 2.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vivien Mallet 2009-01-31 14:26:18 UTC
Version:           2.2 (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

I found two situations where Konsole does not seem to open a new tab in the right directory.

First situation:
1) Open a new Konsole.
2) Open a man page, e.g., "man g++".
3) Open a new tab.
4) Return to the first tab and quit the man page.
5) Open a new tab again: it opens in "/usr/share/man/" instead of opening in the directory of the first tab.

Second situation:
1) Open a new Konsole (or just a new tab in any Konsole). You are then in $HOME (in the default configuration).
2) Change directory, e.g., "cd /usr/".
3) Open a new tab: it opens in $HOME instead of /usr/.
Comment 1 Kurt Hindenburg 2009-02-22 19:15:32 UTC
yea, same on trunk.
1. only tab = man g++
2. open new tab - initial dir is /usr/share/man
Comment 2 Oscar Pereira 2009-12-08 22:00:08 UTC
(In reply to comment #0)
> Version:           2.2 (using KDE 4.2.0)
> OS:                Linux
> Installed from:    Ubuntu Packages
> 
> I found two situations where Konsole does not seem to open a new tab in the
> right directory.
> 
> First situation:
> 1) Open a new Konsole.
> 2) Open a man page, e.g., "man g++".
> 3) Open a new tab.
> 4) Return to the first tab and quit the man page.
> 5) Open a new tab again: it opens in "/usr/share/man/" instead of opening in
> the directory of the first tab.
> 
> Second situation:
> 1) Open a new Konsole (or just a new tab in any Konsole). You are then in $HOME
> (in the default configuration).
> 2) Change directory, e.g., "cd /usr/".
> 3) Open a new tab: it opens in $HOME instead of /usr/.

(In reply to comment #1)
> yea, same on trunk.
> 1. only tab = man g++
> 2. open new tab - initial dir is /usr/share/man

Observed the same behaviour on Konsole 2.3.3 (KDE 4.3.4 - ArchLinux).

Sometimes it's just enough to open Konsole, open a man page, and open a new tab (and the initial dir will be /usr/share/man). But on some occasions it is necessary to open a new tab, go back to the first and quit the man page, and then open another tab (which will start on the wrong directory)
Comment 3 Hervé Cauwelier 2009-12-23 17:59:31 UTC
Clone of bug 189528?
Comment 4 Kurt Hindenburg 2009-12-29 06:19:19 UTC

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