Page 1 of 1
Mouse integration and zooming wheel function
Posted: 24. Nov 2008, 21:30
by alexbilo
Hi,
We use a software that makes use of the mouse wheel to zoom in and out. When we zoom in, the screen in centered on the mouse pointer to help the navigation, which also means that the cursor location is changed relative to the screen corner.
That feature doesn't work anymore since we enabled the mouse integration feature. It looks like the software cannot change the pointer location when we zoom in.
Is this a bug?
Thanks,
Alex
Posted: 26. Nov 2008, 12:05
by Sasquatch
If it is a bug, it's not one of VB, but more of the program you use. It seems that it can't handle the integration to the VM seamlessly. If you want to use the function, disable automatic mouse integration. You then have to click inside the VM as if you haven't got the GA installed.
Posted: 26. Nov 2008, 14:42
by alexbilo
Hi,
It is quite possible that it is a bug in that software. However, that zooming function works fine except when the GA are installed with the mouse integration enabled.
That is why I suggested that it might be a bug in VB or GA.
Thanks,
Alex
Posted: 26. Nov 2008, 22:36
by Sasquatch
I don't know what software you use or which Host OS, but on Linux I can use the Zoom plugin of Compiz-Fusion and that works just fine.
Posted: 27. Nov 2008, 15:49
by alexbilo
Host is Win Vista and guest is win XP.
Actually I am talking about the zoom function of a given software, not of the windows manager.
It uses the scroll wheel to zoom in and out, and it is not working properly when I activate the mouse integration.
Thanks,
Alex
Posted: 27. Nov 2008, 16:08
by TerryE
These types of zoom algo can often use DirectX libraries which use the underlying graphics processor to do the hard work. With the virtualised VESA controller this has to be done in x86 code and therefore isn't as responsive.
Posted: 27. Nov 2008, 18:01
by alexbilo
In this case, the problem is not the responsiveness.
The normal behaviour is:
I point somewhere in the screen and I zoom in using the scroll wheel. The screen is then centered on the point where I zoomed and the mouse cursor is moved (by the software) to the center of the screen so that if I continue to zoom in, it will zoom in that particular area.
The faulty behaviour is (mouse integration turned on):
I point somewhere in the screen and I zoom in using the scroll wheel. The screen is then centered on the point where I zoomed but the mouse cursor does not move, it stays where I was pointing before I zoomed. This leads to the effect that if I continue to zoom, I actually zoom into a different area unless I reposition the cursor to the center of the screen myself.
The way I see it, the mouse integration feature makes it impossible for the software to reposition the mouse cursor in the screen, and that is why I think that it may be a bug in the guest additions.
Thank you,
Alex
Posted: 27. Nov 2008, 20:37
by Sasquatch
I wouldn't consider that a bug. Just a feature that is either not yet implemented, or not possible. With the Mouse Integration, the Host system determines the position of the mouse and the Guest can only read it while it's inside the VM window, but not move it.
Posted: 28. Nov 2008, 06:53
by alexbilo
Ok I understand and I can only agree with you that it's probably more a feature, although a wishable feature.
I guess that VB would be able to trap writes operation to the cursor position by the guest and replace the cursor accordingly...
Thank you,
Alex
Posted: 28. Nov 2008, 22:28
by Sasquatch
Yes, that should be possible. Just not implemented yet. If you open a bug ticket for this, it will be implemented someday. You will make the developers aware of the 'issue'.