Bug 823019

Summary: Mouse clicks are not synchronized with cursor when display is scaled up
Product: Red Hat Enterprise Linux 8 Reporter: Marc-Andre Lureau <marcandre.lureau>
Component: spice-vdagent-winAssignee: Arnon Gilboa <agilboa>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: ---CC: acathrow, cfergeau, cpelland, dblechte, dyasny, grant_williamson, jbiddle, mbarta, mkrcmari, uril
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdagent-win-0.1-11 Doc Type: Bug Fix
Doc Text:
spice-gtk relies on agent best resolution match when resizing the display.There is a mouse offset when there is no exact match between the client display and the guest resolution. An update has been made to ensure that the vdagent starts correctly and these problems will no longer occur. As a result the guest's mouse will now respond correctly to user input.
Story Points: ---
Clone Of:
: 835194 (view as bug list) Environment:
Last Closed: 2012-12-04 18:17:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 835194    

Description Marc-Andre Lureau 2012-05-18 19:25:34 UTC
Description of problem:

spice-gtk rely on agent best resolution match when resizing the display.

There is a mouse offset when there is no exact match between the client display and the guest resolution

Version-Release number of selected component (if applicable):
vdagent from git, and previous releases (probably current supported rhev release too), unfortunately, the tags seems to be missing in upstream repo.

How reproducible:
100%

Steps to Reproduce:
1. run spicy with "Resize guest to best match"
2. resize client to a non-exact match (for example, 1400x480)
3. move cursor to bottom-right corner

  
Actual results:
observe the mouse is off (depending on ratio client/guest)

Expected results:
Guest mouse should be under client pointer.

Comment 1 Christophe Fergeau 2012-06-25 08:36:18 UTC
This is fixed by http://cgit.freedesktop.org/spice/win32/vd_agent/commit/?id=b4e9afc721882ae14fe9e720a3cd113701cf9f8e if I'm not mistaken

Comment 4 Marc-Andre Lureau 2012-07-02 14:04:39 UTC
*** Bug 834999 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2012-12-04 18:17:07 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