Bug 809570 - guest pointer position is different to client pointer with client mouse
guest pointer position is different to client pointer with client mouse
Status: CLOSED NOTABUG
Product: Fedora EPEL
Classification: Fedora
Component: spice-vdagent (Show other bugs)
el6
Unspecified Linux
high Severity high
: ---
: ---
Assigned To: Hans de Goede
Desktop QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-03 12:37 EDT by David Jaša
Modified: 2012-04-04 05:12 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-04-04 05:12:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Jaša 2012-04-03 12:37:09 EDT
Description of problem:
guest pointer position is different to client pointer with client mouse. 

Version-Release number of selected component (if applicable):
spice-vdagent-0.8.1-3.el5

How reproducible:
always

Steps to Reproduce:
1. start spice-vdagent in RHEL 5.8 guest, log in to gnome
2. hold down the mouse button ad drag as if you wish to select desktop icons
3.
  
Actual results:
start position of choose area is different to start position of mouse pointer
end position is different than current mouse pointer position

Expected results:
selected area corresponds to actual mouse pointer

Additional info:
guest cursor coordinates seem to be:
x_guest = x_0 + a*x_client
y_guest = y_0 + a*y_client
where x_0 and y_0 seem seem to be every time different and a is around 1.2 - 1.5
Comment 1 Hans de Goede 2012-04-03 15:17:32 EDT
This sounds to me like spice-vdagentd, the system level daemon which handles the client mouse does not know at which resolution your Xorg session is running. The most likely cause for this is that the user session part, the spice-vdagent process is not running. Can you ensure that you've both a spice-vdagentd and a spice-vdagent running ?

Also you should not have more then one spice-vdagent process !

If things still don't work after this please check ~/.spice-vdagent/log and /var/log/spice-vdagentd/spice-vdagentd.log
Comment 2 David Jaša 2012-04-03 16:22:30 EDT
(In reply to comment #1)
> This sounds to me like spice-vdagentd, the system level daemon which handles
> the client mouse does not know at which resolution your Xorg session is
> running. The most likely cause for this is that the user session part, the
> spice-vdagent process is not running. Can you ensure that you've both a
> spice-vdagentd and a spice-vdagent running ?
> 

Both of them are running,

> Also you should not have more then one spice-vdagent process !
> 

there is just a single instance of each.

> If things still don't work after this please check ~/.spice-vdagent/log and
> /var/log/spice-vdagentd/spice-vdagentd.log

logs show nothing suspicious. If you contact me on IRC, I'll give you ready-to-test VM.
Comment 3 Hans de Goede 2012-04-04 05:12:33 EDT
Update:

I've looked on the vm in question and it was a configuration problem, fixed by doing:
cp /usr/share/doc/spice-vdagent-0.10.1/xorg.conf.RHEL-5 /etc/X11/xorg.conf

As explained that one needs to do in /usr/share/doc/spice-vdagent-0.10.1/README.RHEL-5.

Note You need to log in before you can comment on or make changes to this bug.