Red Hat Bugzilla – Bug 492364
mouse is grabbed even though usb tablet is used
Last modified: 2009-04-15 14:01:33 EDT
Description of problem:
One of the features of Fedora 11 was making the qemu usb tablet work out of the box so that mouse will no longer have to be grabbed. When Fedora 10 is used as a host, the mouse will be grabbed once, and then after pressing ctrl-alt the tablet will work as advertised.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install f11 guest, remembering to pass --os-variant=fedora11 parameter
2. wait for anaconda to come up
3. click inside the guest window
mouse is grabbed once and then works correctly
mouse works correctly since the beginning
this also happens on consecutive boots of the guest
This is a "fun" problem.
What is going on is that during initial bootup of the guest, (eg while plymouth graphical boot is running), the PS/2 mouse is in use.
Only once GDM login screen starts does the "real" X server activate the USB tablet.
So during initial boot when the PS/2 mouse is in use, the VNC server is running in relative mouse mode, and thus cursor grab will be used by GTK-VNC clients.
Once the USB tablet is activated, the VNC server switches over to absolute mouse mode. GTK-VNC will no longer grab the mouse in this mode, but if you already had the mouse grabbed from when the guest was booting, it won't be released.
We can't avoid the cursor grab during initial bootup phase, but we could consider automatically releasing the mouse grab when changing from relative -> absolute mouse mode.
The mouse will also get grabbed if you click inside the guest window for the first time *after* the login screen appears.
gtk-vnc-0.3.8-4.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gtk-vnc'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-3042
gtk-vnc-0.3.8-4.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.