VirtualBox

Ticket #7534 (new defect)

Opened 4 years ago

Last modified 12 months ago

OpenGL 3D mouse cursor invisible in Windows 7 guest

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

Description

Problem:

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

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

Change History

Changed 4 years ago by selden

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

comment:1 in reply to: ↑ description Changed 4 years ago by selden

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 Changed 3 years ago by janderson

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 Changed 3 years ago by furryfighter20x66

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 follow-up: ↓ 5 Changed 3 years ago by selden

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.

comment:5 in reply to: ↑ 4 Changed 3 years ago by selden

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 Changed 3 years ago by janderson

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

comment:7 Changed 17 months ago by GreatEmerald

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 Changed 12 months ago by xantia_v6

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 ....

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use