Ticket #8878 (new defect)
Multiple monitor raises VirtualBox windows on mouse over
|Reported by:||bobpaul||Owned by:|
|Version:||VirtualBox 4.0.4||Keywords:||raise focus multimon multiple monitors|
This might be intended behavior, but in my opinion, it is the wrong behavior and frequently interrupts my work flow, so I marked it as defect.
Steps to Reproduce:
- In Virtual Machine settings: Display -> Monitor Count -> 2
- Boot the Virtual Machine and install Guest Additions
You will have 2 windows, titled "[Machine Title (Snapshot)] - Oracle VM VirtualBox : #" where # is either 1 or 2.
- Position both of these display windows so they can be seen on the screen, but are not maximized.
- Raise another window (ex: Firefox) so it is above the 1st display window ("Oracle VM VirtualBox : 1"), but not completely covering it.
- Click in the 2nd display window ("Oracle VM VirtualBox : 2") to raise it and give it focus.
- Move the mouse outside of the 2nd display window. Due to step 2 the Host OS will have control.
- Move the mouse over the bit of the 1st display window which is visible.
- Move the mouse off of the 1st display window and use your preferred method to re-raise it above the 1st display window.
Expected Behavior: In step 7, the 1st display window should not raise itself. Whether it should have focus or not is another discussion on which I have no strong opinion (it probably should), but it should definitely not raise itself. It is odd/frustrating behavior for floating a mouse over a window to cause it to instantly raise to the top, hiding other windows in the process.
Observed Behavior: Since the second display window ("VirtualBox : 2") was the last to have focus, simply floating the mouse the other display window will cause it to both raise and steal focus. This makes it difficult to move the mouse across the screen to click a different window, as one has to consciously pick a route that avoids the other VirtualBox window, or position the windows such that no exposed edge of a VirtualBox window lies in between the two VirtualBox display windows.