VirtualBox

Ticket #8878 (new defect)

Opened 3 years ago

Last modified 3 months ago

Multiple monitor raises VirtualBox windows on mouse over

Reported by: bobpaul Owned by:
Priority: major Component: GUI/multiview
Version: VirtualBox 4.0.4 Keywords: raise focus multimon multiple monitors
Cc: Guest type: other
Host type: Linux

Description

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:

  1. In Virtual Machine settings: Display -> Monitor Count -> 2
  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.

  1. Position both of these display windows so they can be seen on the screen, but are not maximized.
  2. Raise another window (ex: Firefox) so it is above the 1st display window ("Oracle VM VirtualBox : 1"), but not completely covering it.
  3. Click in the 2nd display window ("Oracle VM VirtualBox : 2") to raise it and give it focus.
  4. Move the mouse outside of the 2nd display window. Due to step 2 the Host OS will have control.
  5. Move the mouse over the bit of the 1st display window which is visible.
  6. 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.

The displays can be switched ("VirtualBox : 1" for "VirtualBox : 2") and the behavior is the same. I've searched for a work around using my window manager (compiz) and have found none.

Change History

comment:1 Changed 19 months ago by BobLoblaw

I agree that this behaviour is undesirable. I run a dual monitor setup with a Ubuntu guest on a Windows 7 host, in seamless mode, and I often move my mouse between windows from either operating system on either monitor. I could use a VirtualBox option to disable the auto-raising of VM windows whenever I move my mouse from a VM window on one monitor to a host window on the other monitor. As of version 4.1.22, the host window will have hidden by the time I get there, and I have to re-find it before I can continue working.

Version 0, edited 19 months ago by BobLoblaw (next)

comment:2 Changed 3 months ago by winksmit

I am running VirtualBox 4.3.6 on Ubuntu 12.04 (unity) and this autoraise defect drives me crazy. A desirable solution would be to have vbox follow the wishes of the window manager. I've already applied by desired settings with the window manager (e.g. focus follows mouse, no auto raise, no raise on click).

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use