[Konsole-devel] [Bug 165924] New: there sould be a switch to disable konsole drag and drop feature
Giacomo Montagner
mantager at gmail.com
Mon Jul 7 08:11:21 UTC 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=165924
Summary: there sould be a switch to disable konsole drag and drop
feature
Product: konsole
Version: 2.0
Platform: Fedora RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: konsole-devel kde org
ReportedBy: mantager gmail com
Version: 2.0 (using KDE 4.0.5)
Installed from: Fedora RPMs
OS: Linux
Drag and drop feature in a terminal program can be dangerous.
Let's imagin you're taking some notes about your work, and want to store in a text document the commands you give on the command line along with their output.
You make the selection on Konsole and then paste on the text editor.
With KDE 3.5, if you made a selection, clicking on the selection and dragging would start a new selection from where you clicked. Useful if you selected some characters at the beginning or the end of the line more than what you wanted. You move the cursor, click in the right place (even if it's inside the selection you already made) and select again.
Now, with KDE 4.0/Konsole 2.0, if you click inside the selection and drag, you'll drag the selection. If you the release the mouse button the content of the selection will be pasted on the command line and executed.
If you want to enjoy the power of drag and drop try this:
1) log in as root on your machine
2) type this command:
# echo "I don't want to have this command:
rm -rf /
run on my system"
3) type <return>
Nothing bad happens.
4) now select only "rm -rf /"
5) click on the selection ant drag it, but not outside the konsole window
6) release your mouse button.
Can you add a switch in the Konsole settings, to easily turn off drag and drop, so that no selection is dragged but, if user clicks on the selection, another selection is started?
Thanks.
More information about the konsole-devel
mailing list