Bug 1482971

Summary: Copy-paste for images is broken from Windows 10 Guest to Client.
Product: Red Hat Enterprise Linux 8 Reporter: David Blechter <dblechte>
Component: spice-vdagent-winAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED ERRATA QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: astepano, cfergeau, dblechte, lsurette, mtessun, rbalakri, rduda, rh-spice-bugs, spice-qe-bugs, srevivo, tpelka, uril, victortoso
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdagent-win-4.1.5 mingw-spice-vdagent-0.9.0-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1477171 Environment:
Last Closed: 2017-09-19 07:16:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Spice RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1477171    
Bug Blocks:    

Description David Blechter 2017-08-18 13:42:49 UTC
+++ This bug was initially created as a clone of Bug #1477171 +++

SPICE protocol supports copy-paste for different types of data between client and guest. This mechanism is broken when users tries to copy an image from Windows10 Guest and Paste it to Client.

Guest: Windows 10
spice-qxl-wddm-dod-0.18-1
vdagent-win-4.1-3

How reproducible: always

Steps to Reproduce:
1. Log in to Admin or User portal.
2. Have a running Windows 10 VM.
3. Connect to remote desktop of the VM.
4. In the Windows10 open a paint program.
5. Copy an image from paint.
6. Try to paste image at client.

Actual results: cannot-copy paste image data from guest to client.

Additional info: This bug doesn't depend on client.

--- Additional comment from Victor Toso on 2017-08-01 08:41:54 EDT ---

Could you please attach the logs from vdagent-win and the client?

--- Additional comment from Victor Toso on 2017-08-01 08:48:28 EDT ---

Also, could you please double check if this also happens on windows 7?

--- Additional comment from Uri Lublin on 2017-08-01 09:02:06 EDT ---

The image (bmp/png) copy/paste failure is a known issue with the
mingw build and has already been fixed upstream.
To be fixed on the next build.

--- Additional comment from Andrei Stepanov on 2017-08-01 10:25:42 EDT ---

Copy-paste image bug from Guest->Client has place only for Windows10 guest. Windows7 guest doesn't have such bug.

--- Additional comment from Victor Toso on 2017-08-01 10:39:09 EDT ---

Considering comment #3

--- Additional comment from Uri Lublin on 2017-08-01 11:04:55 EDT ---

(Adding to comment #3 and comment #5)
https://lists.freedesktop.org/archives/spice-devel/2017-July/038946.html

Comment 1 Frediano Ziglio 2017-08-22 14:56:49 UTC
Verified by me and Uri, posted a patch at https://lists.freedesktop.org/archives/spice-devel/2017-August/039362.html.

Comment 3 Andrei Stepanov 2017-08-24 10:38:28 UTC
I cannot reproduce this bug with a new vdagent-win-4.1-5.

Checked with: Windows7 32bit client and Windows 7 64bit, Windows 10 32bit guests.

Move to VERIFIED.

Comment 5 errata-xmlrpc 2017-09-19 07:16:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2746