Guest windows rearranged after power save
Posted: 13. Dec 2019, 02:06
Summary
When I wake my screens back up from power save, VirtualBox' windows are rearranged/resized.
Display layout
I have four monitors arranged horizontally, number 1-4 from left to right:
#1 is a DisplayPort 4K display in portrait
#2 is a DisplayPort 4K display in landscape
#3 is a DisplayPort 4K display in landscape [primary, contains the panel]
#4 is a DVI-D 1920x1200 display in landscape
Symptoms
When the screens wake back up, all of VirtualBox' guest VM windows have been relocated to #1, near the bottom of the screen, and have been resized (i.e. based on their current position they should extend off the bottom of the screen but the window has been resized to fit on the screen). This does not (usually?) happen with VirtualBox' management window, just the actual VM consoles. It's the power save that does it; just kicking off the screensaver/locker doesn't cause the problem.
Other windows don't exhibit this behaviour; for example, Firefox' windows, my terminal windows, etc. all stay put.
Steps to reproduce
1. Be using the computer in pursuit of evil world domination (various methods)
2. Take a break from evil to make a sandwich, long enough for the screensaver/power save to kick in
3. Come back and wake the screens up to resume pursuit of world domination to find my evil VirtualBox VM windows rearranged
Observed result
The VirtualBox VM consoles have had a party in my absence.
Expected result
I expect my windows to conduct themselves more sensibly; when I come back, they should have the same location/dimensions as they did before the power save.
Software/OS versions
(To confirm, these are all "...as packaged by Kubuntu 18.04 LTS" and I'm up to date on system updates.)
- VirtualBox versions (the grep is just to filter the output to installed packages):
- Linux/KDE Plasma: Kubuntu 18.04
- KDE Plasma Version: 5.12.9
- KDE Frameworks Version: 5.44.0
- Qt Version: 5.9.5
When I wake my screens back up from power save, VirtualBox' windows are rearranged/resized.
Display layout
I have four monitors arranged horizontally, number 1-4 from left to right:
#1 is a DisplayPort 4K display in portrait
#2 is a DisplayPort 4K display in landscape
#3 is a DisplayPort 4K display in landscape [primary, contains the panel]
#4 is a DVI-D 1920x1200 display in landscape
Symptoms
When the screens wake back up, all of VirtualBox' guest VM windows have been relocated to #1, near the bottom of the screen, and have been resized (i.e. based on their current position they should extend off the bottom of the screen but the window has been resized to fit on the screen). This does not (usually?) happen with VirtualBox' management window, just the actual VM consoles. It's the power save that does it; just kicking off the screensaver/locker doesn't cause the problem.
Other windows don't exhibit this behaviour; for example, Firefox' windows, my terminal windows, etc. all stay put.
Steps to reproduce
1. Be using the computer in pursuit of evil world domination (various methods)
2. Take a break from evil to make a sandwich, long enough for the screensaver/power save to kick in
3. Come back and wake the screens up to resume pursuit of world domination to find my evil VirtualBox VM windows rearranged
Observed result
The VirtualBox VM consoles have had a party in my absence.
Expected result
I expect my windows to conduct themselves more sensibly; when I come back, they should have the same location/dimensions as they did before the power save.
Software/OS versions
(To confirm, these are all "...as packaged by Kubuntu 18.04 LTS" and I'm up to date on system updates.)
- VirtualBox versions (the grep is just to filter the output to installed packages):
Code: Select all
$ dpkg -l 'virtualbox*' | grep '^ii '
ii virtualbox 5.2.34-dfsg-0~ubuntu18.04.1 amd64 x86 virtualization solution - base binaries
ii virtualbox-dkms 5.2.34-dfsg-0~ubuntu18.04.1 all x86 virtualization solution - kernel module sources for dkms
ii virtualbox-ext-pack 5.2.34-1~ubuntu18.04.1 all extra capabilities for VirtualBox, downloader.
ii virtualbox-qt 5.2.34-dfsg-0~ubuntu18.04.1 amd64 x86 virtualization solution - Qt based user interface- KDE Plasma Version: 5.12.9
- KDE Frameworks Version: 5.44.0
- Qt Version: 5.9.5