VirtualBox

Ticket #9449 (closed defect: wontfix)

Opened 3 years ago

Last modified 3 years ago

Cursor is invisible when using PutMouseEventAbsolute method

Reported by: Kortex Owned by:
Priority: minor Component: other
Version: VirtualBox 4.1.2 Keywords: Mouse, Cursor, IMouse
Cc: Guest type: Windows
Host type: Windows

Description

I am using VirtualBox SDK to move/click mouse on guest from app running on host through IMouse interface. Mouse is moved successfully and clicks can be emulated, but the cursor becomes invisible on the Guest just after PutMouseEventAbsolute method is called. Once I touch my real mouse - the cursor appears at "correct" position (the position at which it has been moved by PutMouseEventAbsolute method call).

GA are installed, but Mouse Integration is disabled for the Guest.

Attachments

VBox.log Download (101.3 KB) - added by Kortex 3 years ago.

Change History

Changed 3 years ago by Kortex

comment:1 Changed 3 years ago by michael

  • Status changed from new to closed
  • Resolution set to wontfix

I'm afraid that you are doing unsupported things here, as the mouse control APIs in the SDK are not really intended to let two different processes control the guest mouse at the same time. You are falling foul of the built-in convention that when the host sends absolute co-ordinates it means that it wishes to display the mouse cursor itself, and the guest therefore stops doing so. Unfortunately the host front-end process doesn't know that you have send data to the guest and does not start displaying the cursor.

Admittedly this should ideally be done differently, in particular that convention should be replaced by something explicit, but since it is very low priority for us it is not likely to happen in the near future.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use