Bug 448767

Summary: odd behavior with vmmouse driver
Product: [Fedora] Fedora Reporter: Jeff Bastian <jbastian>
Component: xorg-x11-drv-vmmouseAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-22 13:49:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
xorg.conf original
none
xorg.conf modified for vmmouse
none
Xorg.0.log from original xorg.conf
none
Xorg.0.log from vmmouse xorg.conf
none
xev output with original xorg.conf
none
xev output with vmmouse xorg.conf
none
screenshot of konsole with vmmouse driver none

Description Jeff Bastian 2008-05-28 17:37:58 UTC
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):
xorg-x11-drv-vmmouse-12.5.0-1.fc9.i386


How reproducible:
Every time

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
  
Actual results:
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.

Expected results:
Normal mouse behavior

Additional info:

Comment 1 Jeff Bastian 2008-05-28 17:44:49 UTC
Created attachment 306960 [details]
xorg.conf original

xorg.conf generated by system-config-display

Comment 2 Jeff Bastian 2008-05-28 17:45:50 UTC
Created attachment 306961 [details]
xorg.conf modified for vmmouse

xorg.conf modified by me to use the vmmouse driver and use the NoAutoAddDevices
server flag

Comment 3 Jeff Bastian 2008-05-28 17:46:35 UTC
Created attachment 306962 [details]
Xorg.0.log from original xorg.conf

/var/log/Xorg.0.log with original xorg.conf

Comment 4 Jeff Bastian 2008-05-28 17:47:20 UTC
Created attachment 306963 [details]
Xorg.0.log from vmmouse xorg.conf

/var/log/Xorg.0.log from my modified xorg.conf with vmmouse driver

Comment 5 Jeff Bastian 2008-05-28 17:48:45 UTC
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.

Comment 6 Jeff Bastian 2008-05-28 17:50:53 UTC
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.

Comment 7 Jeff Bastian 2008-05-28 17:51:57 UTC
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.

Comment 8 Jeff Bastian 2008-05-28 17:57:12 UTC
I repeated the xev test under Fedora 8 where the vmmouse driver works fine and
the extra MotionNotify events do not appear.


Comment 9 Peter Hutterer 2008-10-22 04:40:17 UTC
Can you give vmmouse 12.5.2 a try please?

https://admin.fedoraproject.org/updates/xorg-x11-drv-vmmouse-12.5.2-1.fc9

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.

Comment 10 Jeff Bastian 2008-10-22 13:49:34 UTC
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!