Bug 66281 - Copying source URL when downloading file impossible
Summary: Copying source URL when downloading file impossible
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: uiserver (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 22036 62653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-20 14:12 UTC by Steffen Weber
Modified: 2010-10-04 18:18 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Weber 2003-10-20 14:12:06 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

It seems to impossible to select the URL in the file download dialog, because it is deselected as soon as you stop selecting it / when you release the mouse button!

Additionally it should be possible to copy the whole URL and not just the visible url, which is often cut because it's too long.
Comment 1 David Faure 2003-10-20 16:09:45 UTC
Subject: Re:  New: Copying source URL when downloading file impossible

> It seems to impossible to select the URL in the file download dialog, because it is deselected as soon as you stop selecting it / when you release the mouse button!

I cannot reproduce this. Which version of kdelibs do you have exactly?
You said "compiled sources" but I have no info as to which sources you compiled.

Comment 2 Steffen Weber 2003-10-20 17:00:12 UTC
I'm using kdelibs from today, but this bug exists since at least a few days (when I noticed it first). I've found out something that might lead you in the right direction to reproduce this: It's only impossible to select the source URL as described above when the download is still active (i.e. the file is being downloaded).

When I enable the checkbox "Keep this window open ..." and wait until the download  is finished I can perfectly select the source URL. So it seems to have to do something with the fact that the window and / or the progress bar are constantly updated and cause the text to be deselected.
Comment 3 Maksim Orlovich 2004-05-26 18:22:34 UTC
*** Bug 62653 has been marked as a duplicate of this bug. ***
Comment 4 David Faure 2004-05-26 22:51:04 UTC
CVS commit by faure: 

Don't emit the source and destination URLs all the time, they make it impossible
to select them in the progressdialog. (This should also reduce the inter-process
communication a little bit).
CCMAIL: 66281@bugs.kde.org
One bug remains: the squeezed text is copied, with "..."

Also noted that we emitted aboutToCreate all the time - not needed, moved to
the end of the listing stage. AFAICS only KonqUndo listens to it - and even ignores it.


  M +48 -24    job.cpp   1.389



Comment 5 Maksim Orlovich 2004-05-30 21:59:39 UTC
*** Bug 22036 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-05-06 21:36:10 UTC
Here using:

Qt: 4.5.1 (qt-copy  960517)
KDE: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
kdelibs svn rev. 963904 / kdebase svn rev. 963904
on ArchLinux i686 - Kernel 2.6.29.1

When not using the new Plasma notifications but using the old progress dialog, I can select the source and destiny URL.
(this can't be done with the Plasma notifications, but that is another bug)
Comment 7 David Faure 2010-10-04 18:18:02 UTC
Expand the "..." in the copied string, when selecting squeezed text.
This fix is only activated when compiling against Qt-4.7 (since I added API there for that purpose, via a Qt MR, some time ago).
It's never too late to fix bugs from 2003 :)

M  +3 -1      tests/ksqueezedtextlabeltest.cpp  
 M  +30 -3     widgets/ksqueezedtextlabel.cpp  
 M  +5 -0      widgets/ksqueezedtextlabel.h

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