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

Dunrong Huang riegamaths at gmail.com
Thu Nov 29 01:24:54 PST 2012


2012/11/29 David Jaša <djasa at redhat.com>:
> INVITU píše v St 28. 11. 2012 v 10:45 -1000:
>> Dear all
>>
>> Please keep in mind that some organization would want to forbid
>> transfers between guest and client (for security reasons)
>> The feature should be available with a setup parameter
>>
>> Best regards
>>
>> Cyril
>
> IMO there should be spice-server CLI switch similar to disable-copy-paste one. Dunrong?
>
Yes, it makes sense. I think it is easy to do after we finish main work.
> David
>
>>
>> Le 28/11/2012 10:03, Hans de Goede a écrit :
>> > 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
>> > _______________________________________________
>> > Spice-devel mailing list
>> > Spice-devel at lists.freedesktop.org
>> > http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
> --
>
> David Jaša, RHCE
>
> SPICE QE based in Brno
> GPG Key:     22C33E24
> Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
>
>
>



-- 
Best Regards,

Dunrong Huang


More information about the Spice-devel mailing list