[Spice-devel] [spice-gtk [rfc] 0/2] Clipboard managers and Spice

Victor Toso victortoso at redhat.com
Tue Jan 15 16:19:30 UTC 2019


Hi,

On Tue, Jan 15, 2019 at 05:11:36PM +0100, Victor Toso wrote:
> From: Victor Toso <me at victortoso.com>
> 
> Hi,
> 
> Several iteractions trying to avoid some bug in X11 but in the end I
> found the iteraction with Clibpoard managers (or any other application
> that request/set clipboard data) a bit more urgent.
> 
> Simple try here, to not allow another application to request clipboard
> data from guest while the user is theoretically interacting with that
> guest machine as spice client holds the keyboard-grab.

And to not send clipboard-data to the guest while the user is
not interacting with the guest.

> As pointed out by elmarco [0], that might be something desireable. So,
> I'm introducing the possibility to enable it but have it disabled by
> default.

[0] https://lists.freedesktop.org/archives/spice-devel/2019-January/047221.html

> Tested on X11 and Wayland clients.
> 
> There are more than on away to achieve this idea so feedback is welcome.
> 
> I expect that the spice client would implement some sort to commandline
> option like --allow-clipobard-managers to enable/disable the
> SpiceGtkSession property on the fly. For now, there is an option in
> spicy testing tool.
> 
> James, would be great if you could verify if this series keep your
> environment bug free.
> 
> Cheers,
> 
> Victor Toso (2):
>   gtk-session: introduce clipboard-managers property
>   gtk-session: add request targets delayed
> 
>  src/spice-gtk-session.c | 128 +++++++++++++++++++++++++++++++++++++---
>  tools/spicy.c           |   6 ++
>  2 files changed, 125 insertions(+), 9 deletions(-)
> 
> -- 
> 2.20.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190115/51a24ff5/attachment.sig>


More information about the Spice-devel mailing list