Bug 618242 - position of mouse pointer displayed in the spicec is different from real mouse pointer position on guest
Summary: position of mouse pointer displayed in the spicec is different from real mous...
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-client   
(Show other bugs)
Version: 6.0
Hardware: All
OS: All
Target Milestone: rc
: ---
Assignee: Arnon Gilboa
QA Contact: Desktop QE
Keywords: RHELNAK
Depends On:
Blocks: 626721
TreeView+ depends on / blocked
Reported: 2010-07-26 13:41 UTC by Lubos Kocman
Modified: 2013-08-26 00:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 626721 (view as bug list)
Last Closed: 2010-11-08 11:12:03 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
spicec.log (41.88 KB, application/octet-stream)
2010-07-26 13:42 UTC, Lubos Kocman
no flags Details
qemu-kvm.out (3.53 KB, application/octet-stream)
2010-07-26 13:42 UTC, Lubos Kocman
no flags Details

Description Lubos Kocman 2010-07-26 13:41:35 UTC
Description of problem:

I found that mouse coordinates become somehow garbled after changing resolution from lower to higher.

I was able to reproduce this issue on Win7 guest with 2 displays. I'll try to find out how much system/display specific the issue is.

Version-Release number of selected component (if applicable):


Guest contains software installed from RHEV-toolsSetup_2.2_46140 media

How reproducible:

Steps to Reproduce:
1. sudo /usr/libexec/qemu-kvm -vga qxl -device qxl  -m 1024 -spice port=3001,disable-ticketing -usbdevice table <win7.img>
2. /usr/libexec/spicec  --host localhost --port 3001
3. change resolution of gues from lower to higher (in my case 1024x768 -> 1440x900)

Actual results:
Both (x,y) coordinates seems to be dependent on distance from upper left corner of primary display (0,0)

I think that it behaves like (x += x, y+=y)

Expected results:

Displayed position of the cursor should be equal to the real position.

Additional info:

Display coordinates seems to be like (x += x, y+=y) from upper left corner of the primary display.

Comment 1 Lubos Kocman 2010-07-26 13:42:14 UTC
Created attachment 434418 [details]

Comment 3 Lubos Kocman 2010-07-26 13:42:39 UTC
Created attachment 434419 [details]

Comment 4 RHEL Product and Program Management 2010-07-26 13:57:52 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 6 Uri Lublin 2010-08-12 16:22:50 UTC
Hi Lubos,

Please retry with the following in mind:
1. Do not use -usbdevice tablet when running with multi-monitor spice.
2. Use spice-vmc device (-device virtio-serial -device spicevmc,nr=0)
3. Install qxl driver on guest
4. Install spice-vmc driver on guest
5. Install appropriate vdagent and vdservice (they are not the same as in
   RHEV-2.2, adjusting to the new spicevmc device)
6. Make sure vdservice and vdagent are running
   - start -> run -> cmd  +   net start vdservice  (or check the logs)

Following the above, with a Win XP guest, I could not reproduce the bug.

Ping me on IRC if you need any help.


Comment 9 Lubos Kocman 2010-11-08 11:12:03 UTC
This issue has not been reproduced  on el6 any more.

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