Bug 809570 - guest pointer position is different to client pointer with client mouse
Summary: guest pointer position is different to client pointer with client mouse
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: spice-vdagent
Version: el6
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-03 16:37 UTC by David Jaša
Modified: 2012-04-04 09:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-04 09:12:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Jaša 2012-04-03 16:37:09 UTC
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 19:17:32 UTC
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 20:22:30 UTC
(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 09:12:33 UTC
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.