VirtualBox

Ticket #4506 (closed defect: fixed)

Opened 4 months ago

Last modified 2 months ago

Mouse not followed by GUI elements in guest -> fixed in SVN/upcoming version 3.0.6.

Reported by: CaptainFlint Assigned to:
Priority: major Component: guest additions
Version: VirtualBox 3.0.2 Keywords:
Cc: Guest type: Linux
Host type: other

Description

I upgraded VB 2.2.4 to 3.0.2. After I updated Guest Additions in my openSUSE VM, the mouse pointer is no longer detected by the GUI elements. For example, when I move the mouse over tabs, buttons, desktop icons, they do not get highlighted. Besides, the mouse pointer shape remains unchanged: if it was a normal "arrow" pointer, it remains so even over the text edit fields, over hyperlinks, over window borders, etc. Only when I perform a click, it is detected, the click works (i.e. the button is pressed), and only then the mouse pointer takes the correct shape — and now this new shape becomes "sticked" and remains so until I click anywhere else.

I tried Guest Additions 3.0.0, and there was the same problem. Then I installed GA 2.2.4, and the mouse worked fine. Also I tried installing GA 3.0.2 and replacing only the vboxmouse driver with the one from 2.2.4, and this combination worked fine either. So, probably, there's something broken with the mouse driver in guest additions since 3.0.0.

Host OS: WinXP SP3 Pro
Guest OS: openSUSE 11.1, KDE 4.2.95 (4.3 RC1), X server 1.5.2

Attachments

VBox-3.0.2.log (51.9 kB) - added by CaptainFlint on 2009-07-13 14:38:11.
Log file of VM when mouse driver from GA 3.0.2 is loaded
VBox-2.2.4.log (51.8 kB) - added by CaptainFlint on 2009-07-13 14:38:32.
Log file of VM when mouse driver from GA 2.2.4 is loaded

Change History

2009-07-13 14:38:11 changed by CaptainFlint

  • attachment VBox-3.0.2.log added.

Log file of VM when mouse driver from GA 3.0.2 is loaded

2009-07-13 14:38:32 changed by CaptainFlint

  • attachment VBox-2.2.4.log added.

Log file of VM when mouse driver from GA 2.2.4 is loaded

2009-07-20 20:18:36 changed by Aphax

I'm experiencing the same issue with a Gentoo host and guest, running the OSE version. Only way I could get the mouse to work normally again was downgrading the guest additions to 2.2.4. It seems as though with 3.0.2 the guest simply doesn't get any motion events until I actually click the mouse button.

(follow-up: ↓ 3 ) 2009-07-21 12:08:08 changed by michael

Aphax: since you are using Gentoo, I will assume that you know how the details of your system setup :) Questions follow.

1) Did you get your Additions from Portage? 2) Did you set up xorg.conf on the guest yourself after you installed the Additions? 3) Which version of X.Org is your guest using? 4) Is your guest X.Org configured to use hal for input device autodetection?

The background is that as of X.Org version 1.5 (on the guest), our mouse driver handling changed a bit. We assume that the standard mouse driver is also loaded (normally in X.Org 1.5 and later, the "evdev" driver is autoloaded by hal. This does not hold true on openSUSE 11.1, and may not on Gentoo) and that the standard mouse driver handles mouse click events. vboxmouse only handles the pointer position and it should be associated with the /dev/vboxadd device, not /dev/mouse or whatever.

(in reply to: ↑ 2 ) 2009-07-21 17:45:13 changed by Aphax

Hi Michael, I've managed to solve the problem now thanks to your background explanation; turns out I still had a section for the vboxmouse, and had disabled automatically adding devices in my xorg.conf, which I had created from scratch a long time ago for VirtualBox < 3. After removing all the input device sections everything is now dealt with by HAL like you hinted and it everything 'just works' :)

2009-08-27 23:38:24 changed by michael

  • summary changed from Mouse not followed by GUI elements in guest to Mouse not followed by GUI elements in guest -> fixed in SVN/upcoming version 3.0.6..

Fixed in SVN/upcoming version 3.0.6.

2009-09-10 08:30:56 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy