Last edited by wasabinz; April 25th, 2009 at 01:39 AM.
I've traced down the right-click-terminal-opens bug:
When VMWare handles a click, xev shows:
(1) MouseDown event. That's expected.
(2) MotionNotify event. That's unexpected. It tells the guest that the mouse has moved for either 0 pixels or 1 or 2 pixels.
(3) MouseUp event. That's expected.
So, from what I see every time you press down the mouse the GUI toolkit interprets it as a "drag", not just a click. So, if you click in a terminal with the left mouse button it might select one character (particularly if you click a blank area), and with the right mouse button it'll select the first menu entry.
There's a bit of quibbling it seems between the VMWare people and the GTK/QT people, one blaming another. The VMWare camp says they are just passing mouse events as they happen and the GUI toolkits should exclude minor movements of the mouse as noise. The GUI toolkit folks say that MotionNotify is for notifying *LOGICAL* motion of the mouse and the mouse driver shouldn't be reporting negligible changes in mouse position to the client.
You be the judge.
Originally Posted by tuxradar
Ok, for those nerds with too much time on their hands. In src/vmmouse.c line 495:
change toCode:if (dx || dy)
This disallows posting both a button change and a movement update. Fixes the unintentional mouse drag issue for me.Code:if ((dx || dy) && (truebuttons == pMse->lastButtons))
Originally Posted by tuxradar
This could potentially be a stupid question but when you say "RC1" are you referring to a VMWare Workstation release? VMWare Server 2.0 RC1? Or an Jaunty release of some kind?
The fact that you said "using" instead of "of" leads me to believe that you are talking about the VMWare and not the OS but I want to be completely sure.
Thanks.
I've had the same issue on my VMware guest when I upgraded from 8.04 to 9.04. I have since created a new guest and installed from fresh and I don't have the issue. seems to be a bit of a pain not to be able to upgrade and have a mouse.
The click bug is acknowledged by VMWare upstream now and they informed me that they are working on a proper fix for it.
Originally Posted by tuxradar
man how do i fix the mouse? this sounds like alien talk in the Thread starters post.
Bookmarks