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

2018-01-11 Thread Marc-André Lureau
Hi - Original Message - > On Thu, Jan 11, 2018 at 11:42:00AM -0500, Marc-André Lureau wrote: > > > > > (it seems that clipboard system for GTK 4 has been reworked quite a > > > bit - see https://git.gnome.org/browse/gtk+/log/?h=wip/otte/clipboard > > > - this is already merged into

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

2018-01-11 Thread Christophe Fergeau
On Thu, Jan 11, 2018 at 11:42:00AM -0500, Marc-André Lureau wrote: > > > (it seems that clipboard system for GTK 4 has been reworked quite a > > bit - see https://git.gnome.org/browse/gtk+/log/?h=wip/otte/clipboard > > - this is already merged into master) > > I have not much time to look at the

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

2018-01-11 Thread Jakub Janku
On Thu, Jan 11, 2018 at 5:42 PM, Marc-André Lureau wrote: > Hi > > - Original Message - >> On Thu, Jan 11, 2018 at 3:29 PM, Marc-André Lureau >> wrote: >> > >> > Hi >> > >> > - Original Message - >> > > On Wed, Jan 10,

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

2018-01-11 Thread Marc-André Lureau
Hi - Original Message - > On Thu, Jan 11, 2018 at 3:29 PM, Marc-André Lureau > wrote: > > > > Hi > > > > - Original Message - > > > On Wed, Jan 10, 2018 at 06:48:14PM -0500, Marc-André Lureau wrote: > > > > Hi > > > > > > > > - Original Message

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

2018-01-11 Thread Jakub Janku
On Thu, Jan 11, 2018 at 3:29 PM, Marc-André Lureau wrote: > > Hi > > - Original Message - > > On Wed, Jan 10, 2018 at 06:48:14PM -0500, Marc-André Lureau wrote: > > > Hi > > > > > > - Original Message - > > > > On Tue, Jan 09, 2018 at 12:16:33PM -0500,

[Spice-devel] Strange issue with PhotoShop 6

2018-01-11 Thread Frediano Ziglio
Hi, trying the lazzo issue I find this issue: https://www.youtube.com/watch?v=fzCo6gxKLyA Note that the problem does not disappear if you close and open (you can still see the garbage on the screen). Also a printscreen inside the VM (so paste on mspaint for instance) present the garbage so

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

2018-01-11 Thread Marc-André Lureau
Hi - Original Message - > On Wed, Jan 10, 2018 at 06:48:14PM -0500, Marc-André Lureau wrote: > > Hi > > > > - Original Message - > > > On Tue, Jan 09, 2018 at 12:16:33PM -0500, Marc-André Lureau wrote: > > > > I think it's problematic for traditional applications as well. > > > >

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

2018-01-11 Thread Christophe Fergeau
On Wed, Jan 10, 2018 at 06:48:14PM -0500, Marc-André Lureau wrote: > Hi > > - Original Message - > > On Tue, Jan 09, 2018 at 12:16:33PM -0500, Marc-André Lureau wrote: > > > I think it's problematic for traditional applications as well. > > > clipboard access is probably going to be

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

2018-01-11 Thread Marc-André Lureau
Hi - Original Message - > On Thu, Jan 11, 2018 at 08:10:39AM -0500, Frediano Ziglio wrote: > > > > > > Hi > > > > > > - Original Message - > > > > On Tue, Jan 09, 2018 at 12:16:33PM -0500, Marc-André Lureau wrote: > > > > > I think it's problematic for traditional applications

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

2018-01-11 Thread Daniel P. Berrange
On Thu, Jan 11, 2018 at 08:10:39AM -0500, Frediano Ziglio wrote: > > > > Hi > > > > - Original Message - > > > On Tue, Jan 09, 2018 at 12:16:33PM -0500, Marc-André Lureau wrote: > > > > I think it's problematic for traditional applications as well. > > > > clipboard access is probably

Re: [Spice-devel] [spice-gtk] build: Update spice-common

2018-01-11 Thread Marc-André Lureau
ack - Original Message - > This includes a LZ fix for paletted images. > > Frediano Ziglio (10): > quic: avoid crash on specific images > Make the compiler work out better way to write unaligned memory > test-marshallers: Use unaligned structure >

[Spice-devel] [spice-gtk] build: Update spice-common

2018-01-11 Thread Frediano Ziglio
This includes a LZ fix for paletted images. Frediano Ziglio (10): quic: avoid crash on specific images Make the compiler work out better way to write unaligned memory test-marshallers: Use unaligned structure test-marshallers: Test demarshalling ring: Remove

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

2018-01-11 Thread Frediano Ziglio
> > Hi > > - Original Message - > > On Tue, Jan 09, 2018 at 12:16:33PM -0500, Marc-André Lureau wrote: > > > I think it's problematic for traditional applications as well. > > > clipboard access is probably going to be limited by default and only > > > accessed through so-called

[Spice-devel] [PATCH spice-server v3 0/3] Better handling reset for

2018-01-11 Thread Frediano Ziglio
Changes since v2: - split first patch between fix and test; - better wording (not code changes). Frediano Ziglio (3): stream-device: Avoid device to get stuck if multiple messages are batched test-stream-device: Better Qemu emulation for data reading stream-device: Implements properly

[Spice-devel] [PATCH spice-server v3 1/3] stream-device: Avoid device to get stuck if multiple messages are batched

2018-01-11 Thread Frediano Ziglio
If messages are sent together by the agent the device is reading only part of the data. This cause Qemu to not poll for new data and stream_device_read_msg_from_dev won't be called again. This can cause a stall. To avoid this continue handling data after a full message was processed.

[Spice-devel] [PATCH spice-server v3 2/3] test-stream-device: Better Qemu emulation for data reading

2018-01-11 Thread Frediano Ziglio
Qemu does not trigger a new data read if we don't read all data in the buffer. Signed-off-by: Frediano Ziglio --- server/tests/test-stream-device.c | 44 +-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git

Re: [Spice-devel] [PATCH spice-server v2 2/2] stream-device: Implements properly device reset on open/close

2018-01-11 Thread Frediano Ziglio
> > On Thu, Dec 07, 2017 at 08:47:39AM +, Frediano Ziglio wrote: > > Due to the way Qemu handle the device we must consume all pending > > data inside the callback to read data from the device. > > Any idea if QEMU can be fixed to do the right thing? We'll still need > some kind of

Re: [Spice-devel] [PATCH spice-server v2 1/2] test-stream-device: Better Qemu emulation for data reading

2018-01-11 Thread Frediano Ziglio
> > On Thu, Dec 07, 2017 at 08:47:38AM +, Frediano Ziglio wrote: > > Qemu does not trigger a new data read if we don't read all data in > > the buffer. > > > > Signed-off-by: Frediano Ziglio > > --- > > server/stream-device.c| 9 > >

Re: [Spice-devel] xf86-video-qxl + libspice-server: no image on FreeBSD

2018-01-11 Thread Frediano Ziglio
> On Tue, Jan 9, 2018 at 10:09 PM, Frediano Ziglio < fzig...@redhat.com > > wrote: > > > Hello! > > > > I would really like to see XSpice and xf86-video-qxl on FreeBSD. > > > > The correction for the FreeBSD build libspice-server.so is quite trivial > > > and > > > > mechanical (first and

Re: [Spice-devel] xf86-video-qxl + libspice-server: no image on FreeBSD

2018-01-11 Thread Oleg Ginzburg
On Tue, Jan 9, 2018 at 10:09 PM, Frediano Ziglio wrote: > > > > Hello! > > > I would really like to see XSpice and xf86-video-qxl on FreeBSD. > > > The correction for the FreeBSD build libspice-server.so is quite trivial > and > > mechanical (first and dirty version in