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

Marc-André Lureau marcandre.lureau at redhat.com
Wed Jan 10 12:00:34 UTC 2018


Hi

----- Original Message -----
> 
> > 
> > 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;

Yes, additional UI may be nice to switch enabling/disabling clipboard sharing (although we still need command line and/or config file).
 
> - only if have the focus;
> - special keyboard combination.
> Or crazy stuff like enabling for only some seconds.

The rest feels unnecessarily complex to me.


More information about the Spice-devel mailing list