Bug 230137 - Check existing command before changing directory in the terminal
Summary: Check existing command before changing directory in the terminal
Status: RESOLVED DUPLICATE of bug 161637
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Arch Linux Unspecified
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 22:26 UTC by Matthias Fuchs
Modified: 2010-03-10 00:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***