Bug 109235

Summary: When changing active split view or tab, change dir in embedded terminal too
Product: [Applications] konqueror Reporter: Maarten ter Huurne <maarten>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: denis.prost, drjschn, finex
Priority: NOR    
Version: 3.4.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maarten ter Huurne 2005-07-18 02:24:24 UTC
Version:           3.4.1 (using KDE 3.4.1 Level "a" , SUSE 9.3 UNSUPPORTED)
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-21.7-default

To reproduce:
(I'm using dashes for actions and stars for observations)
- open Konqueror
- select Split View Left/Right
- put focus on the left view
- navigate to directory A
- put focus on the right view
- navigate to directory B (anywhere unrelated to A)
- put focus on the left view
- select "Show Terminal Emulator"
- navigate to directory C
* you will see "cd 'C'" being executed in the terminal
* both the location bar and the terminal show C as the current directory
- put focus on the right view
* nothing is executed in the terminal
* the location bar shows B, while the terminal shows C as the current directory
- navigate to directory D
* you will see "cd 'D'" being executed in the terminal
* both the location bar and the terminal show D as the current directory

In my opinion, it would be better if the terminal is always in sync with the active view, just like the location bar is. So when switching focus to the right view, "cd 'B'" should be executed in the terminal.
Comment 1 Thiago Macieira 2005-07-18 05:06:22 UTC
*** Bug 109064 has been marked as a duplicate of this bug. ***
Comment 2 Philip Rodrigues 2006-09-05 20:28:09 UTC
Same on 3.5 branch SVN r575787
Comment 3 techo 2008-05-18 12:08:38 UTC
same on 3.5.9
Comment 4 Maarten ter Huurne 2009-01-17 21:28:02 UTC
In Konqueror 4.1.3, the shell directory does not seem to be synchronized with the file views at all: the "cd 'C'" part of the described scenario does not happen.
Comment 5 FiNeX 2010-09-18 22:54:53 UTC
*** Bug 245102 has been marked as a duplicate of this bug. ***
Comment 6 FiNeX 2010-09-18 22:56:45 UTC
Dolphin (KDE4) is able to syncronize the embedded terminal when switching tabs and splitted views.
Comment 7 Myriam Schweingruber 2012-06-18 14:08:15 UTC
Message from the Bugsquad and Konqueror teams:
This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore.
If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report.
Thank you for your understanding.
Comment 8 Maarten ter Huurne 2012-06-18 14:56:47 UTC
As Konqueror no longer syncs the location bar and the terminal path at all (comment 4), its behavior is consistent, if a bit inconvenient. However, like FiNeX said (comment 6) Dolphin does keep the paths synchronized, so I'll just use Dolphin instead.