From kde-bugs-dist Sun Sep 30 23:26:58 2001 From: Waldo Bastian Date: Sun, 30 Sep 2001 23:26:58 +0000 To: kde-bugs-dist Subject: Bug#24434: Setting http-referer for drag&drop. X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=100189293409825 On Sunday 30 September 2001 03:16 pm, Waldo Bastian wrote: > BR31341 (http://bugs.kde.org/db/31/31341.html) is an interesting bugreport. > The reason the drag&drop doesn't work, seems to be that the actual download > is handled by kdesktop who gets the url when it accepts the drop. However, > in order to download the image successfully the referrer should be set > accordingly (I assume) and kdesktop has no way of doing this, since it does > not have this information. BR24434 might very well similar to this. The difference is that the "Save Image As" code is handled by khtml itself, which makes it easier to solve: khtml_ext.cpp:456 if(!saved) { /*KIO::Job *job = */ KIO::copy( url, destURL ); // TODO connect job result, to display errors } In this case we should be able to pass MetaData to the copy-job. Cheers, Waldo -- bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com