Bug 263000

Summary: Copy filename to clipboard
Product: [Applications] kate Reporter: Todd <toddrme2178>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: kenneth.h.detweiler
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Sentry Crash Report:
Attachments: Allow to copy filename in kate

Description Todd 2011-01-13 03:58:28 UTC
Version:           SVN (using KDE 4.5.95) 
OS:                Linux

It would be nice if you could right-click on a file in the documents panel and click "copy filename" or something like that to put the filename to the clipboard.  

It is very common for me to want to put the filename of one open file in the text of another open file.  Currently I have to select the file, save as, then copy that, then close the save as dialog, then go back to the file I want, then paste.

Reproducible: Always
Comment 1 dereine 2011-08-12 18:17:23 UTC
Created attachment 62781 [details]
Allow to copy filename in kate
Comment 2 Dominik Haumann 2011-08-16 08:56:30 UTC
Git commit a29e1e931f934498ea06a702b3de679bb25158e8 by Dominik Haumann.
Committed on 16/08/2011 at 10:54.
Pushed by dhaumann into branch 'master'.

add to context menu: copy filename

BUG: 263000

M  +25   -4    kate/plugins/filetree/katefiletree.cpp
M  +3    -0    kate/plugins/filetree/katefiletree.h

http://commits.kde.org/kate/a29e1e931f934498ea06a702b3de679bb25158e8
Comment 3 Ken 2013-12-09 01:48:00 UTC
edit -> copy does NOT copy the filename. 
How can the filename (including full path) be copied to the clipboard?
Comment 4 Christoph Feck 2013-12-27 22:22:26 UTC
Ken, right-click on the filename in the "Documents" sidebar, then select "Copy Filename".