VirtualBox

Opened 13 years ago

Closed 13 years ago

#9449 closed defect (wontfix)

Cursor is invisible when using PutMouseEventAbsolute method

Reported by: Sergey Owned by:
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 (1)

VBox.log (101.3 KB ) - added by Sergey 13 years ago.

Download all attachments as: .zip

Change History (2)

by Sergey, 13 years ago

Attachment: VBox.log added

comment:1 by Michael Thayer, 13 years ago

Resolution: wontfix
Status: newclosed

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use