RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-client
Version: 6.0
Hardware: All
OS: All
low
medium
Target Milestone: rc
: ---
Assignee: Arnon Gilboa
QA Contact: Desktop QE
URL:
Whiteboard:
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:
Clone Of:
: 626721 (view as bug list)
Environment:
Last Closed: 2010-11-08 11:12:03 UTC
Target Upstream Version:
Embargoed:


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):

spice-server-0.4.2-14.el6.x86_64
spice-client-0.4.2-15.el6.x86_64
qemu-kvm-0.12.1.2-2.96.el6.x86_64

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]
spicec.log

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

Comment 4 RHEL 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.

Thanks.

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.