shell icon indicating copy to clipboard operation
shell copied to clipboard

VirtualBox VM window jump around if auto-resizing VM guest display is enabled

Open rschuetz opened this issue 4 years ago • 3 comments

(1) Issue/Bug Description: VirtualBox's "Auto-Resize guest display" functionality seems to interfere with Pop Shell. If enabled, the VirtualBox VM window (i.e. the window containing the screen of the VM) starts jumping between my primary monitor (in a tab in a pop-shell tile) and my secondary monitor (in a full-screen tile), resp. between two tiles on my primary monitor back and forth approx. one time per second. This also leads to the wrong VM screen size, as my monitors have different resolutions.

(2) Steps to reproduce (if you know): Looks like I cannot reproduce the issue for sure, it sometimes work, sometimes not. I'm using a VM with Win 10 Pro 21H1 w/ guest extensions installed. The VirtualBox manager window is in the floating-window exception list, the VM window itself isn't. "Auto-Resize guest display" is disabled when the VM boots up, the VM window opens in a tab in a tile. After enabling View > Auto-resize guest display (VirtualBox menu), the VM window starts jumping, after disabling it again (fortunately the menu itself stays once selected, so one just need to hit the View menu once to continue), jumping stops.

If it cannot be triggered by enabling View > Auto-resize guest display alone, try selecting View > Adjust Window Size additionally or with Auto-resize guest display disabled. If Auto-resize guest display is disabled, it will most likely just jump twice.

(3) Expected behavior: VirtualBox window should not jump around, VirtualBox resizing should resize display to correct tile size.

(4) Distribution (run cat /etc/os-release): NAME="Ubuntu" VERSION="21.04 (Hirsute Hippo)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 21.04" VERSION_ID="21.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=hirsute UBUNTU_CODENAME=hirsute

(5) Gnome Shell version: 3.38.4

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally): Built locally from 47d48291dfaed86b43011871b07b91d01aa0d2f6 (latest commit on master as of ticket creation)

(7) Where was Pop Shell installed from: master @ https://github.com/pop-os/shell

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): Primary: 3840 x 1600 (Horizontal) Secondary: 1920 x 1080 (Notebook display, Horizontal)

(9) Other Installed/Enabled Extensions: A lot, but the issue is also present after disabling all extensions but Pop Shell and restarting Gnome.

(10) Other Notes: None.

rschuetz avatar Jun 22 '21 15:06 rschuetz

Having the same issue on slightly different system. Makes tiling unusable for me, when a VM is running.

(1) - (3) Exactly as described by @rschuetz

(4) Distribution (run cat /etc/os-release): PRETTY_NAME="Ubuntu 21.10" NAME="Ubuntu" VERSION_ID="21.10" VERSION="21.10 (Impish Indri)" VERSION_CODENAME=impish ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=impish

(5) Gnome Shell version: 40.5, running on Wayland

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally): Built locally from c7390c8 (current latest)

(7) Where was Pop Shell installed from: master @ https://github.com/pop-os/shell

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): Primary: 1920 x 1080 (Notebook display, Horizontal)

(9) Other Installed/Enabled Extensions: Yes, but even with everything but pop-shell disabled the issue is present.

dynobo avatar Jan 08 '22 15:01 dynobo

Same issue on different system:

(1) - (3) Exactly as described by @rschuetz

(4) NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/"

(5) Gnome Shell version: 41.3, running on Wayland

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally): Not supported

(7) Where was Pop Shell installed from: aur/gnome-shell-extension-pop-shell-git commit: 396b2f3

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): Primary: 3840 x 1600 (Horizontal) Secondary: 1920 x 1080 (Notebook display, Horizontal)

(9) Other Installed/Enabled Extensions: A lot, but the issue is also present after disabling all extensions but Pop Shell and restarting Gnome.

sylv-io avatar Mar 16 '22 10:03 sylv-io

(1-3): Same

(4) Distribution (run cat /etc/os-release):

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux-logo

(5) Gnome Shell version: 42.1

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally): Commit 034fb14eb41349baf2e60894e2021c7bf6ca2ce8

(7) Where was Pop Shell installed from: the AUR

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): one 1920x1080 FHD display

(9) Other Installed/Enabled Extensions: None

(10) Other Notes: None

developomp avatar May 16 '22 04:05 developomp