Opened 14 years ago

Closed 8 years ago

#7534 closed defect (obsolete)

OpenGL 3D mouse cursor invisible in Windows 7 guest

Reported by: Selden Ball Owned by:
Component: 3D support Version: VirtualBox 3.2.8
Keywords: cursor; pointer; mouse Cc: seb1@…
Guest type: Windows Host type: Windows

Description (last modified by aeichner)


When the mouse is captured (i.e. when mouse integration is disabled), the cursor used by Celestia v1.6.0 (a multi-platform 3D astronomy display program) is invisible. It disappears when the cursor position is within the 3D window. The Windows default arrow appears when the cursor leaves Celestia's 3D window.

While slowly moving the cursor into the 3D window, I can see one of the arms of the cursor (a large plus sign) extending past the window border onto the desktop just as the cursor enters the window. None of the cursor's arms are visible in the 3D window itself.

When the mouse is not captured, the cursor is visible in the 3D window and changes back to Windows' default arrow when it leaves Celestia's 3D window, but mouse interactions with Celestia don't work right.

Once I saw a very tiny cursor while the mouse was captured, but was unable to see it in subsequent tests.

As best I can tell, the symptoms are exactly the same whether running VB in full screen mode or in windowed mode.

(I'm sorry if this is a duplicate problem report. I was unable to find any previous mention of this issue except for a hint in ticket #475, which is closed.)

Attachments (1)

Win7 Ultimate #1-2010-10-02-18-18-06.log (94.4 KB ) - added by Selden Ball 14 years ago.
VirtualBox log file: Celestia was started and viewed -- first with mouse integration on and then with it off

Download all attachments as: .zip

Change History (10)

by Selden Ball, 14 years ago

VirtualBox log file: Celestia was started and viewed -- first with mouse integration on and then with it off

in reply to:  description comment:1 by Selden Ball, 14 years ago

Replying to selden:

Sorry. I forgot to include some info which might be relevant: host cpu is Core i7-Q720 running Windows 7 Pro x64 host gpu is Nvidia NVS 3100M; drivers: ForceWare v258.96 client is running Windows 7 Ultimate x64

comment:2 by Justin, 13 years ago

This appears to be an issue still with VirtualBox 4.0.0... I have been using it with a 3D application called DAZ Studio that contains an OpenGL viewport.

When the mouse is captured and mouse integration is turned off, the mouse disappears when it enters the OpenGL viewport. If you are able to put the mouse on a viewport control (i.e. to rotate the viewport) it does work properly... it is just that it is near impossible to do that with the cursor behind the OpenGL viewport.

One other thing to note... When mouse integration is turned on, the mouse does not disappear when entering the viewport. However, the viewport controls do not work properly. This is because DAZ Studio does some mouse trickery to prevent the user from hitting the edge of the viewport when trying use one of the viewport tools such as rotation.

The trickery it does is this:

When the mouse is clicked and dragged

  • Save the mouse position at the point of the click
  • Hide the mouse
  • Move the mouse to the center of the viewport
  • Calculate movement from the center to determine how to affect the viewport

When the mouse click is finished

  • Move the mouse back to the saved position
  • Show the mouse again

It seems like there is a difference in how mouse positions are handled when mouse integration is enabled and when it is disabled... The correct mouse position behavior is when mouse integration is off.

I would really like to see this issue addressed since it essentially renders my favorite 3D application useless in VirtualBox.

I am running a Win7 Guest on a Win7 machine. This is only for testing purposes... I was wanting to make sure that my apps would work on a Win7 Guest before I switch my host OS to something else.

comment:3 by furryfighter20x66, 13 years ago

I have also encountered this problem using Maya 2011 SE (student edition). Otherwise Maya works perfectly fine, however not able to use it due to this simple problem. It is an exact identical problem to janderson above.

Host system is Ubuntu Linux 10.04 8GB ram, AMD Phenom II X4 965 Processor (x64). GeForce GT 220 (128MB ram)

Guest system is Windows 7 (32). 2GB ram, 3 cores. 64MB Video Ram.

comment:4 by Selden Ball, 13 years ago

This cursor problem seems to be fixed in VirtualBox v1.4.2, running under my Win7 host, both with additions installed for a Win7 guest and without additions installed for a Win8 Preview guest.

in reply to:  4 comment:5 by Selden Ball, 13 years ago

Replying to selden:

This cursor problem seems to be fixed in VirtualBox v1.4.2

Of course, I meant to type v4.1.2 *sigh*

comment:6 by Justin, 13 years ago

Still isn't working for me with the DAZ Studio application. I get the exact same behavior as before.

comment:7 by GreatEmerald, 11 years ago

The bug is still there with 4.1.22, using UnrealEd 2.0 (and probably other versions). When OpenGL is enabled, the cursor (which is actually also the "+" one) is not displayed in the viewport. The behaviour is correct when using software rendering and with the mouse integration off. With it on, the mouse input is indeed not correct (it looks like it's going in spirals even if the actual mouse is being pushed in a straight line).

comment:8 by xantia_v6, 11 years ago

The 3D cursor disappearing still exists in 4.2.12. I am running Windows XP guests in VirtualBox, using Debian Squeeze as host. I installed the extension pack and enabled 3D acceleration. When trying to run Disney's Toontown under the guest OS, the cursor disappears when on the 3D surface. It works fine with Mouse Integration enabled, but I am trying to run 4 virtual machines, each with their own dedicated USB keyboard and mouse. I can not enable mouse integration because then I would have to share a single physical mouse between two virtual machines, each running Windows XP and trying to play Toontown ....

comment:9 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use