Bug 748917

Summary: multi display: real mouse pointer position does not align with cursor
Product: Red Hat Enterprise Linux 6 Reporter: Lubos Kocman <lkocman>
Component: spice-vdagentAssignee: Hans de Goede <hdegoede>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2CC: acathrow, cfergeau, dblechte, mkrcmari
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-25 17:10:56 UTC Type: ---
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: 740851    
Attachments:
Description Flags
screenshot of the incident
none
xorg.conf with xinerama over two qxl's none

Description Lubos Kocman 2011-10-25 14:58:51 UTC
Created attachment 530113 [details]
screenshot of the incident

Description of problem:

This issue is extending mouse issue from Bug 732467 as nobody was describing this issue. The cursor is not reflecting the real pointer position.


Version-Release number of selected component (if applicable):
spice-vdagent-0.8.1-2.el6.x86_64
spice-client-0.8.2-7.el6.x86_64


How reproducible:


Steps to Reproduce:
1. start rhel62 guest with xinerama enabled (requires to set 2 qxl devices)
2. connect to it trough spice
3. do a mouse drag (just like on screenshot)
  
Actual results:
see the difference between actual position of cursor and the real position

Expected results:

cursor should reflect the real position

Additional info:

turning of vdagent fixes the issue.

Comment 2 Lubos Kocman 2011-10-25 15:04:30 UTC
Created attachment 530114 [details]
xorg.conf with xinerama over two qxl's

Comment 3 Hans de Goede 2011-10-27 14:44:58 UTC
Looking at the screenshot this seems exactly like the behavior which I would expect when using multi monitor with the agent, while not having bug 732467 fixed. Did you test this with one of the brew scratch builds which has bug 732467 fixed?

If not I suggest closing this as a duplicate of bug 732467. I know that the original bug description in bug 732467 is different from what you are seeing now, but the fix for bug 732467 involves changing the way how input coordinates from absolute input devices are interpreted when you've a multiple monitor Xinerama setup, the agent with multi monitor support provides coordinates in the format matching the new agreed up on way to interpret them, so using an unfixed Xorg will result in the mouse position being off. To get the old stuck to right pointer behavior use qemu with a usb tablet and without the agent.

Comment 4 David Blechter 2011-10-27 20:08:46 UTC
moving to 6.3, too late for 6.2, unfortunately