Restore snapshot has wrong screen size
-
- Posts: 99
- Joined: 3. May 2014, 16:44
Restore snapshot has wrong screen size
VB: 6.0.4
Host: Windows 8.1 64 bit 16GB RAM
Guest: Windows 2012R2 64 bit, 8GB RAM
Guest Additions: installed
What I did was:
- start the VM, log into guest Windows
- take a snapshot
- use the VM for a while
- Power off, with"Restore last snapshot"
- start VM again
Result:
- VM starts but has screen size reset to 640x480
This happens every time with this VM, even with newer snapshots.
Host: Windows 8.1 64 bit 16GB RAM
Guest: Windows 2012R2 64 bit, 8GB RAM
Guest Additions: installed
What I did was:
- start the VM, log into guest Windows
- take a snapshot
- use the VM for a while
- Power off, with"Restore last snapshot"
- start VM again
Result:
- VM starts but has screen size reset to 640x480
This happens every time with this VM, even with newer snapshots.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Restore snapshot has wrong screen size
Known problem, already discussed in the "Discuss the 6.0.4 release" topic. Try installing the latest test build of the Guest Additions.
-
- Posts: 99
- Joined: 3. May 2014, 16:44
Re: Restore snapshot has wrong screen size
I still see this (another host, another guest).
VB: 6.1.38
Host: Windows 10 Pro 21H2 64 bit, 32 GB RAM
Guest: Windows 10 Pro 21H2 64 bit, 8 GB RAM
Guest Additions: installed, version 6.1.38
If I start the VM to a snapshot that was taken while it was running, then the following happens:
- during loading it shows the VM screen (gray snapshot) in correct size
- then it makes the VM window very small (see screenshot)
- then it makes it 640x480
Screenshot of all 3 steps attached. Or not, I get this error: Sorry, the board attachment quota has been reached.
I will put them up later if/when the board recovers...
VB: 6.1.38
Host: Windows 10 Pro 21H2 64 bit, 32 GB RAM
Guest: Windows 10 Pro 21H2 64 bit, 8 GB RAM
Guest Additions: installed, version 6.1.38
If I start the VM to a snapshot that was taken while it was running, then the following happens:
- during loading it shows the VM screen (gray snapshot) in correct size
- then it makes the VM window very small (see screenshot)
- then it makes it 640x480
Screenshot of all 3 steps attached. Or not, I get this error: Sorry, the board attachment quota has been reached.
I will put them up later if/when the board recovers...
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Restore snapshot has wrong screen size
The forum is having trouble uploading things for now. You can zip the screenshots then post the zip file on a file-sharing site with "everyone can read" permissions. (Please don't use a picture sharing site.)
-
- Posts: 99
- Joined: 3. May 2014, 16:44
Re: Restore snapshot has wrong screen size
I put them here: https://we.tl/t-x62ICgTndr
-
- Posts: 99
- Joined: 3. May 2014, 16:44
Re: Restore snapshot has wrong screen size
Looks like this issue in the tracker: https://www.virtualbox.org/ticket/2942 "Save state -> Start/resume does not restore window size"
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Restore snapshot has wrong screen size
I'm sorry, Xerces, looks like we missed the post of the screenshots link and it has expired. The bugtracker ticket looks similar to what you're reporting but is very old. Can you please try using Upload Attachment again? It's working now. Also, please zip and upload the VM's .vbox file, after this behavior has occurred.
-
- Posts: 99
- Joined: 3. May 2014, 16:44
Re: Restore snapshot has wrong screen size
the images attached
(the size limits are very...limiting)
(the size limits are very...limiting)
- Attachments
-
- third screenshot
- VB-snap-3.png (31.88 KiB) Viewed 1787 times
-
- second screenshot
- VB-snap-2.png (8.71 KiB) Viewed 1787 times
-
- VB-snap-1.zip
- first screenshot
- (233.28 KiB) Downloaded 4 times
-
- Posts: 99
- Joined: 3. May 2014, 16:44
Re: Restore snapshot has wrong screen size
attachedscottgus1 wrote:Also, please zip and upload the VM's .vbox file, after this behavior has occurred.
- Attachments
-
- Win10 test.zip
- (3.33 KiB) Downloaded 5 times
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Restore snapshot has wrong screen size
While the VM is not running, try removing the guest size hints with
Code: Select all
cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage setextradata "Win10 test" "GUI/LastGuestSizeHint" ""
VBoxManage setextradata "Win10 test" "GUI/LastGuestSizeHint1" ""
-
- Posts: 99
- Joined: 3. May 2014, 16:44
Re: Restore snapshot has wrong screen size
Did that, started the VM again, no change, behaves as before: big window, very small window, then middle size window
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Restore snapshot has wrong screen size
Yet another idea: There is an undocumented setting that may or may not help:
Please provide a (zipped) VBox.log file from a VM run with this setting. To undo the setting:
Edit:
Corrected the undo setting command for posterity.
Code: Select all
cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage setextradata "Win10 test" "GUI/AutomountGuestScreens" "1"
Code: Select all
cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage setextradata "Win10 test" "GUI/AutomountGuestScreens" ""
Corrected the undo setting command for posterity.
Last edited by fth0 on 25. Nov 2022, 16:08, edited 1 time in total.
-
- Posts: 99
- Joined: 3. May 2014, 16:44
Re: Restore snapshot has wrong screen size
Are you sure the undo command is the same as the first one?
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Restore snapshot has wrong screen size
The undo command probably should be either:
VBoxManage setextradata "Win10 test" "GUI/AutomountGuestScreens"
or
VBoxManage setextradata "Win10 test" "GUI/AutomountGuestScreens" ""
VBoxManage setextradata "Win10 test" "GUI/AutomountGuestScreens"
or
VBoxManage setextradata "Win10 test" "GUI/AutomountGuestScreens" ""
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Restore snapshot has wrong screen size
Of course not. Thanks for asking!xerces8foo wrote:Are you sure the undo command is the same as the first one?