[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#24434: Setting http-referer for drag&drop.
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-09-30 23:26:58
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic