Ticket #12587 (closed defect: obsolete)
Window stacking order disturbed on GNOME host when a guest runs in seamless mode
|Reported by:||SynrG||Owned by:|
I am plagued by a problem with the stacking order of windows for certain (gnome/gtk) applications launched from a terminal in the host whenever I have Virtualbox running a guest in seamless mode. It is a minor problem, but sufficiently annoying that I have decided not to use seamless mode until it is fixed.
My host is a Debian/unstable system running gnome-shell 3.8.4. Whenever I am running a guest (Windows XP) in Seamless mode using Virtualbox 4.3 (4.3.6-91406~Debian~wheezy), the stacking order of new windows on the host is disturbed. When my host's gnome-terminal is the top window and I start gvim, the new window for the application always appears stacked immediately under the current window (i.e. underneath gnome-terminal), not above it as expected.
I have tested the following variations:
Switch the virtualbox guest to full screen or windowed modes
This is an acceptable workaround to the problem for now. The stacking order in the host is no longer affected by the presence of virtualbox. I would love to have seamless mode back, though.
When virtualbox is not running, stacking order in the host is always correct.
Try a different terminal application
When running any other terminal on the host, the behaviour is the same as before, i.e. gvim ends up stacked under xterm instead of on top, as I saw before with gnome-terminal.
Try starting different applications, both gnome/gtk and non-gnome-gtk
While gvim is affected, not all applications are. For example, these applications all get stacked on top instead of under the terminal window when I start them from the terminal:
- eog (a gnome/gtk app)
But at least one other application is affected. This one ends up stacked under the terminal window:
- nautilus (another gnome/gtk app)
Try alternate ways to launch application
When gnome-terminal is the top window, if I press alt-f2 and then start gvim, the bug still exists, i.e. the application is started stacked under the terminal windows.
When gnome-terminal is the top window, if I press the "win" key to switch to gnome-shell's overview mode and launch gvim from the favorites bar or by typing gvim in the application search textbox, the application is started on top. This is not a useful workaround for my use case, as I do most of my work in a terminal window, changing directories to change my current work context, and need the filepath argument to vim to be relative to my current directory in the terminal.