Red Hat Bugzilla – Bug 448767
odd behavior with vmmouse driver
Last modified: 2008-10-22 09:49:34 EDT
Description of problem:
I'm running Fedora 9 under VMware Fusion 1.1.2. I do not have the VMware Tools
installed because they do not compile correctly (without unofficial patches)
with 2.6.24 and newer kernels.
I'm trying to use the vmmouse driver because it makes the mouse motion much
smoother and the mouse can seamlessly move between the host and virtual
machines. However, I've noticed some oddities when using the vmmouse driver:
1. Occasionally there are two cursors on the screen. Only one moves, but
both change shape, for example, if moving a window. If I logout and login
(which restarts X) the second cursor may or may not appear.
2. I cannot add widgets to the desktop in KDE4 with the icon in the upper-right
corner. That is, move the mouse to the upper right corner and
"+ Add Widgets" appears, and if I click on it, nothing happens. (I can,
however, right click on the desktop and add widgets using the menu.)
3. If I do a single left-click in Konsole, it selects all text from the mouse
to the right edge of the konsole. If I try to click again somewhere to
unselect, it just selects from the new cursor position to the right edge.
If I switch back to a generic xorg.conf generated by system-config-display, it
uses the 'mouse' driver instead of 'vmmouse' and all of the above problems go
away, except the mouse movement is jerky again and I have to hit CTRL-Apple to
release the cursor from the virtual machine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora 9 under VMware Fusion 1.1.2 and apply all updates
2. Modify xorg.conf (see attached) to use vmmouse driver
Notice second mouse cursor occasionally, login to KDE and notice you cannot add
widgets using the icon in the upper right, and left-clicking in Konsole selects
text to the right-edge of the konsole window.
Normal mouse behavior
Created attachment 306960 [details]
xorg.conf generated by system-config-display
Created attachment 306961 [details]
xorg.conf modified for vmmouse
xorg.conf modified by me to use the vmmouse driver and use the NoAutoAddDevices
Created attachment 306962 [details]
Xorg.0.log from original xorg.conf
/var/log/Xorg.0.log with original xorg.conf
Created attachment 306963 [details]
Xorg.0.log from vmmouse xorg.conf
/var/log/Xorg.0.log from my modified xorg.conf with vmmouse driver
Created attachment 306964 [details]
xev output with original xorg.conf
I ran xev and made a single left-click (and was careful not to move the mouse)
inside the xev box and captured these 5 events. This is with the original
xorg.conf and standard mouse driver.
Created attachment 306965 [details]
xev output with vmmouse xorg.conf
I ran xev again with the vmmouse driver and noticed there were two extra
MotionNotify events even though I was careful not to move the mouse. I picked
up the mouse so the laser could not detect anything and repeated the left click
and it still generated these extra MotionNotify events.
Created attachment 306966 [details]
screenshot of konsole with vmmouse driver
After a single left-click in Konsole, notice how the text from the middle of
the window to the right edge is selected.
I repeated the xev test under Fedora 8 where the vmmouse driver works fine and
the extra MotionNotify events do not appear.
Can you give vmmouse 12.5.2 a try please?
According to Philip Langdale (upstream maintainer), it should fix some issues with xserver 1.5. Not sure if it fixes the issues mentioned here though.
Actually, after upgrading to KDE 4.1.x and the problem went away. Maybe a Qt update or KDE 4.1.x fixed this? And since then, I've moved on to Fedora 10 Beta and everything is working fine. I'm not sure what fixed it, but it's fixed!