Opened 14 years ago
Closed 14 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)
Change History (2)
by , 14 years ago
comment:1 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.