[konsole] [Bug 393523] Dragging a file or folder to Konsole should always paste the path

Nate Graham bugzilla_noreply at kde.org
Thu May 3 13:11:39 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=393523

Nate Graham <nate at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kon
                   |                            |sole/4752c0923a171daeb56ec0
                   |                            |611f81299f11ae31d2
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from Nate Graham <nate at kde.org> ---
Git commit 4752c0923a171daeb56ec0611f81299f11ae31d2 by Nathaniel Graham.
Committed on 03/05/2018 at 13:11.
Pushed by ngraham into branch 'master'.

Paste dropped files and folders as text by default

Summary:
When a user drags a file or folder onto the Konsole window, by far the
most common and likely thing they want to happen is for the path to
that item appear in the window. This is what virtually all other terminal
programs do by default. Konsole does not, and I suspect 99% of its
users do not know that this setting can be turned off, as I did not know
until I started digging through the code itself.

This patch makes the paste-as-text behavior happen by default for new
profiles. Super advanced users can re-enable the drag menu if they like it.
For most Konsole users, I think not having it presents vastly better
drag-and-drop usability and increases the speed of hybrid mouse+gui
operations. As such, I believe this is an important change for {T6831}.

I know changing defaults like this can be scary and controversial, but I
really do believe that the "paste as text" behavior is what 99% of drags
to konsole are intended for. It's not at all like Dolphin where a user may
reasonably want to copy or link instead of move.
FIXED-IN 18.08.0

Test Plan: Make a new user, open Konsole, drag a file or folder to the window;
it's immediately pasted as text

Reviewers: #konsole, hindenburg, #vdg

Reviewed By: #konsole, hindenburg

Subscribers: abetts, hein, #plasma

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D12529

M  +1    -1    src/Profile.cpp

https://commits.kde.org/konsole/4752c0923a171daeb56ec0611f81299f11ae31d2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list