[Spice-devel] [RFC] Inform client about disabled features on server

Pavel Grunt pgrunt at redhat.com
Thu Sep 15 10:08:56 UTC 2016


Hi!

On the server it is possible to disabled some agent features:
Copy & Paste and File transfer. Server then filters messages
related to this features and discards. Since client is not aware
that a feature is disabled, it keeps sending them. The issue is
more obvious with File transfer which has a progress dialog since
v0.31 of spice-gtk.

These patches introduce the SPICE_MSG_MAIN_AGENT_FEATURES messages
to inform client which features are enabled. Client uses this knowledge
to avoid sending disabled vdagent messages and also it doesn't open
the file transfer dialog.

You can also see commits on my agentfeatures branches:
https://cgit.freedesktop.org/~pgrunt/spice-common/?h=agentfeatures
https://cgit.freedesktop.org/~pgrunt/spice-protocol/?h=agentfeatures
https://cgit.freedesktop.org/~pgrunt/spice/?h=agentfeatures
https://cgit.freedesktop.org/~pgrunt/spice-gtk/?h=agentfeatures

Thanks for comments,
Pavel

-- 
2.10.0



More information about the Spice-devel mailing list