Bug 63633 - want to copy filepaths and urls from file properties dialog
Summary: want to copy filepaths and urls from file properties dialog
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-02 22:57 UTC by shift
Modified: 2008-05-16 22:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kpropertiesdialog patch, shows the missing feature in KSqueezedTextLabel. (1.08 KB, patch)
2008-04-03 01:13 UTC, David Faure
Details

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