Ticket #2942 (new defect)
Save state -> Start/resume does not restore window size
|Reported by:||joseph_||Owned by:|
|Version:||VirtualBox 2.1.0||Keywords:||window size|
Problem: When "auto-resize guest display" is enabled, a save state -> start/resume will not restore the window size but instead use a too small window.
This is a regression from 1.x to 2.1.
How to reproduce:
- Start VM
- Enable "auto-resize guest display"
- Close VM window choosing "save machine state"
- Start the VM again
- While restoring, the VM window has a certain small size (640x480 or so)
- When the VM is fully restored, the VM window HEIGHT is restored but the
WIDTH is unchanged from restore operation. In the next moment, the guest OS changes its screen size to adopt to the new size.
Result: Saving the state at a window size of 1600x1200 results in a restored window of 640x1200.
WM is fvwm2. WM is unlikely to cause the problem because when "auto-resize guest display" is not active, restoring the vM will resize the window corretly to the same size it had when saving the state.