Bug 63633

Summary: want to copy filepaths and urls from file properties dialog
Product: [Frameworks and Libraries] kdelibs Reporter: shift
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: faure
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: kpropertiesdialog patch, shows the missing feature in KSqueezedTextLabel.

Description shift 2003-09-02 22:57:43 UTC
Version:            (using KDE KDE 3.1.3)
Installed from:    SuSE RPMs
Compiler:          gcc 3.3 SuSE 8.2
OS:          Linux

in dialogs, such are file properties or file copying it would be very handy to have possibility to select&copy into the clipboard file paths and URLs -- as far as i remeber -- ms windows have such feature in file properties dialog, where you can select and copy the directory path into clipboard, though it is displayed as static_text, not as edit_text_contol.
Comment 1 colesen 2004-01-25 09:44:31 UTC
I second that. One way to do it currently is to select the file and then goto Location->Send Link... and select/copy the path from the message area of the Kmail popup.
Comment 2 David Faure 2008-04-03 01:11:23 UTC
Easy to do... almost. In case the path is long it gets squeezed and then the squeezed version is being copied instead of the full version.

KLineEdit (when enabling squeezing) has support for this, but a readonly lineedit looks too much like a lineedit (white instead of gray, and with border)... (and right now the squeezing is broken, it doesn't happen!)

A label with the text interaction flags looks much better - but for this KSqueezedTextLabel needs to reimplement the builtin popupmenu from Qt to provide a better "Copy" action.

So that's two kdeui bugs...
Comment 3 David Faure 2008-04-03 01:13:03 UTC
Created attachment 24160 [details]
kpropertiesdialog patch, shows the missing feature in KSqueezedTextLabel.
Comment 4 David Faure 2008-05-16 22:33:45 UTC
SVN commit 808518 by dfaure:

FEATURE: RMB / "Copy Full Text" on squeezed text labels, and use those again in the KIO download dialog.
BUG: 63633


 M  +5 -7      jobs/kwidgetjobtracker.cpp  
 M  +3 -3      jobs/kwidgetjobtracker_p.h  
 M  +7 -1      tests/ksqueezedtextlabeltest.cpp  
 M  +44 -2     widgets/ksqueezedtextlabel.cpp  
 M  +6 -1      widgets/ksqueezedtextlabel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=808518