Bug 230137

Summary: Check existing command before changing directory in the terminal
Product: [Applications] dolphin Reporter: Matthias Fuchs <mat69>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: normal CC: frank78ac
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Matthias Fuchs 2010-03-09 22:26:02 UTC
Version:            (using KDE 4.4.1)
Installed from:    Archlinux Packages

When the terminal is opened (F4) and one has split the view, then simply scrolling in the not activated view will cause the terminal to add "cd /path/to/dir" despite of any commands that have been entered before.

In my case I was deleting some files in the terminal including directories, so I used "rm -rf file1 file2 dir1 " and then scrolled -- before pressing enter -- in the not-activated directory. This led to the deletion of that directory because what dolphin did was adding "cd /path/dirToMoveTo" and then excecuted the command.

Despite the data loss this is not a good procedure. Dolphin should check if there is something entered already in the terminal and if that is the case do nothing.

Further there should be an option to deactivate the auto-changing of directories.
Comment 1 Frank Reininghaus 2010-03-10 00:01:02 UTC
Thanks for reporting. This bug is known already.

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