[Spice-devel] [PATCH spice-protocol V3] vd_agent.h: drag-and-drop support

Hans de Goede hdegoede at redhat.com
Wed Nov 28 12:03:31 PST 2012


Hi,

On 11/28/2012 01:24 PM, Marc-André Lureau wrote:
> Hi
>
> ----- Mensaje original -----
>> At present, Vmware and Virtualbox has supported file drag&drop
>> feature,
>> I think it's a good feature for users, so we want qemu/spice to
>> supports it.
>>
>> This patch first adds communication protocol between client and
>> guest,
>> we must make the agent protocol stable before coding, this is what we
>> want this patch to do.
>>
>> This feature has been discussed on spice mailing list.
>>
>> The more details are available at following pages:
>> http://lists.freedesktop.org/archives/spice-devel/2012-November/011400.html
>> and
>> http://lists.freedesktop.org/archives/spice-devel/2012-November/011485.html
>
> Something that we haven't discussed yet afaik is support for drag&drop from guest to client. The clipboard agent messages work both ways. It looks to me like the Xfer messages would work in both directions.

I think that we should stop seeing this as drag and drop support, and
start talking it as a file transfer mechanism. We happen to plan to
add file drag and drop to the client window as a ui to initiate a file
transfer in the client -> guest direction. But we could have a menu
entry where a file open dialog gets shown too, etc.

And purely as a file transfer protocol I see no problems with using
this in the other direction either. Now for a UI for the other direction...

Regards,

Hans


More information about the Spice-devel mailing list