how to force focus lost on mouse out of VB

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Pavel335
Posts: 16
Joined: 26. May 2012, 13:59

how to force focus lost on mouse out of VB

Post by Pavel335 »

i have PhpStorm in virtualbox. it have autosave feature when you change active window.
but this event is not activated when i move mouse ouf of virtualbox
how can i force this event? i works only when i change to another windows in VB
thanks
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: how to force focus lost on mouse out of VB

Post by noteirak »

It doesn't work simply because you're actually running another OS, just like it was a physical machine sitting next to you.
If you were to go on one computer and start PhpStorm, then roll your chair to the other computer, the window would still stay in focus on the first computer since they are different computers in the first place.

AFAIK there is no way to do what you ask purely with VirtualBox but I am no GUI expert here, so I'll let anyone who is confirm that. Don't hold your breath tho. My best bet would be to rely on some hypothetical 3rd party tool.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply