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

Marc-André Lureau mlureau at redhat.com
Wed Nov 28 05:26:50 PST 2012



----- Mensaje original -----
> > 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.
> 
> You mean guest agent will see a drag to the edge of the screen? or it
> will see:
> 
> Drag start
> Client to agent message: xfer start (or whatever it was, haven't
> followed the protocol)
> 
> And then do the xfer?

I was thinking if we imagine the agent is able to behave like a drag-drop destination, then the agent could signal a drag started, the client would accept the drop, and only then the proposed xfer messages would come: server sends xfer_start, etc... There are missing messages to have the agent&client behaving like a drag-drop destination.


More information about the Spice-devel mailing list