Bug 263000 - Copy filename to clipboard
Summary: Copy filename to clipboard
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: SVN
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 03:58 UTC by Todd
Modified: 2013-12-27 22:22 UTC (History)
1 user (show)

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


Attachments
Allow to copy filename in kate (3.10 KB, patch)
2011-08-12 18:17 UTC, dereine
Details

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