Bug 757819

Summary: Mouse clicks are not synchronized with cursor after reopening spice session with a multi-screen guest
Product: Red Hat Enterprise Linux 8 Reporter: Marian Krcmarik <mkrcmari>
Component: spice-vdagent-winAssignee: Arnon Gilboa <agilboa>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: cpelland, dblechte, jbiddle, mbarta, sgrinber, uril
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdagent-win-0.1-10 Doc Type: Bug Fix
Doc Text:
When re-opening a SPICE session on a multi-screen guest, mouse clicks were not synchronized with the cursor location correctly. An update has been made and mouse clicks are now synchronized correctly with the guest.
Story Points: ---
Clone Of:
: 805003 (view as bug list) Environment:
When re-opening a SPICE session on a multi-screen guest, mouse clicks were not synchronized with the cursor location correctly. An update has been made and mouse clicks are now synchronized correctly with the guest.
Last Closed: 2012-12-04 18:16:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 805003    
Attachments:
Description Flags
vdagent: fix cursor position sync on multimon none

Description Marian Krcmarik 2011-11-28 19:05:55 UTC
Description of problem:
Mouse clicks are not synchronized with cursor after reopening spice session with a multi-screen guest - which basically means that after closing spice client and reopening it the clicks of mouse are made not at location of cursor. 
- It happens only with MULTI-SCREEN guests.
- restarting vdagent service does help.

Version-Release number of selected component (if applicable):
RHEVM3 (ic149)
Guest: Windows7x32 with ic149 tools and vdagent-win-0.1-9 (updated)
WindowsXP as client.

How reproducible:
Very often (sometimes more reopening of spice session is needed)

Steps to Reproduce:
1. Connect to a Windows guest with tools installed (especially spice agent up and running). Be sure you get client mouse mode
2. Close spice client
3. Open spice client
4. Repeat 2. and 3. until actual results
  
Actual results:
Cursor is not synced with actual position of mouse

Expected results:
Synced


Additional info:

Comment 4 Arnon Gilboa 2012-01-02 15:54:31 UTC
Reproduced here as well. Need your observations whether it's repro only:
1. when second monitor is left/top of the primary?
2. after full-screen used and guest resolutions are synced with client (UP)?

Comment 5 Marian Krcmarik 2012-01-02 19:54:17 UTC
(In reply to comment #4)
> Reproduced here as well. Need your observations whether it's repro only:
> 1. when second monitor is left/top of the primary?
Interesting, Yes It does, I did not notice earlier.
> 2. after full-screen used and guest resolutions are synced with client (UP)?
Yep, all my hits were using UP. But the full-screen has no impact on that bug. There is a UP bug in ic153.2 build that client is not opened in full-screen but resolution is synced and I can observe the bug there as well.

Comment 6 Arnon Gilboa 2012-01-04 13:50:48 UTC
Created attachment 550686 [details]
vdagent: fix cursor position sync on multimon

Comment 9 Uri Lublin 2012-08-16 11:52:10 UTC
Technical Notes were copied from bug 805003

Comment 13 errata-xmlrpc 2012-12-04 18:16:58 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.

http://rhn.redhat.com/errata/RHBA-2012-1502.html