[Spice-devel] RFC [spice-gtk] session: Allow to delay sending clipboard to the guest

Frediano Ziglio fziglio at redhat.com
Wed Jan 10 11:25:52 UTC 2018


> 
> Hi
> 
> ----- Original Message -----
> > This patch is solving guest <-> client issue, I doubt portals would address
> > this
> > so I think only spice-gtk can address it.
> 
> Portals could check the permissions for an application using the clipboard.
> Whether it's spice-gtk talking to a guest VM or an editor, it doesn't
> matter.
> 

So use these portals (are they cross platform?) to temporarily disable clipboard
access

> A portal may be overkill (since there would probably be no UI), and a simple
> static permission could be enough.
> 
> This basically would be the same thing as having a --spice-disable-clipboard
> option.
> 

A command line option does not look that temporary. I think an option on the GUI
like c&p:
- never;
- always;
- only if have the focus;
- special keyboard combination.
Or crazy stuff like enabling for only some seconds.

Frediano


More information about the Spice-devel mailing list