Bug 100852

Summary: new tab uses same working directory as current tab, ala gnome-terminal
Product: [Applications] konsole Reporter: Adam Wiggins <hiro>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: agr, w.richert
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Adam Wiggins 2005-03-04 23:59:00 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    RedHat RPMs
OS:                Linux

My recent experimentation with the GNOME terminal has made it very clear: Konsole is the best terminal program ever created. :)  However, there is one single feature which gnome-terminal has that I thought was really useful and would be perfect for Konsole as well.  When you create a new tab, the new shell opens in the directory that you were in in the current tab.

For example: open a new konsole, "cd mydir/subdir", then press ctrl-shift-N and you find yourself in another shell already at mydir/subdir.

This would only apply to new tabs, not new Konsole windows.
Comment 1 Kurt Hindenburg 2005-03-05 11:25:56 UTC
This would have to be configurable as I would not want it by default.  

There are other wishes for 'clone/duplicate' current window when creating a new tab.  This may be what you want...

34395 and 76592
Comment 2 Rafal Maj Raf256 2005-12-27 18:49:02 UTC
Indeed, I have identical experience. Option to duplicate a tab is really missing from Konsole. Please fix it!
Comment 3 Robert Knight 2006-08-15 10:24:21 UTC
Fixed in KDE 4.  Session type and working directory and duplicated for new tabs by default (unless you choose a new session of a different type to the active session).
Comment 4 Robert Knight 2006-10-01 05:40:30 UTC
Un-fixed this while working on some internal changes.  Reopened bug to remind me to fix it again later on.
Comment 5 Hrishikesh Mehendale (हृषीकेश मेहेंदळे) 2006-11-09 11:44:31 UTC
I see something similar happen when I open a Konsole from Konqueror by pressing F4 - The new konsole is opened with the shell in the same directory as I am using in Konqueror (as long as it is a local fs of course!). E.g. if I am in ~/Downloads/kde-l10n-mr in Konqueror, Konsole also starts up in ~/Downloads/kde-l10n-mr

However, EVERY new tab created has the same starting directory (~/Downloads/kde-l10n-mr) rather than going to my home directory. Is this
(a) intended behaviour? (then how do I turn it off)
(b) a bug separate from this one (then I'll file it as such)

I /am/ using an ancient ;) version of KDE (3.5.2/Ubuntu 6.06 using Konsole 1.6.2), so this may already be fixed...

(PS: Excellent feature to have, but also enable/disable-able! +votes from me)
Comment 6 Hrishikesh Mehendale (हृषीकेश मेहेंदळे) 2006-11-09 11:44:55 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 Robert Knight 2007-06-02 16:33:26 UTC
Reimplemented again in KDE 4
Comment 8 Robert Knight 2007-06-02 16:34:45 UTC
*** Bug 120035 has been marked as a duplicate of this bug. ***
Comment 9 Robert Knight 2007-06-02 17:05:34 UTC
*** Bug 137980 has been marked as a duplicate of this bug. ***