Opened 16 years ago
Closed 10 years ago
#5372 closed defect (obsolete)
Maximize causes incorrect guest resolution at startup
Reported by: | Richard Perry | Owned by: | |
---|---|---|---|
Component: | GUI | Version: | VirtualBox 3.1.4 |
Keywords: | resolution startup maximize xp ubuntu | Cc: | |
Guest type: | other | Host type: | Windows |
Description (last modified by )
Problem:
When the guest window is maximized, at next reboot, the window is maximized but the guest O/S within is not, leaving a large border around the guest O/S.
You then have to restore ( un-maximize ) the window, and maximize again to get the guest O/S to set itself to the correct resolution.
When you have a normal ( un-maximized ) window set roughly the same size, the problem does not occur, the guest O/S resolution is restored at next reboot.
How to re-create:
- Maximize guest O/S window
- Shutdown guest O/S
- Startup guest O/S
Additional:
Host maximized resolution is 1650x1050 Host is Windows XP but may also affect other host O/S. Guest O/S are Windows XP and Ubuntu, probably affects other guest O/S.
Screenshots of the problem are attached.
Attachments (4)
Change History (27)
by , 16 years ago
Attachment: | startup_resolution_windows_xp.png added |
---|
by , 16 years ago
Attachment: | startup_resolution_ubuntu.png added |
---|
comment:1 by , 15 years ago
by , 15 years ago
Attachment: | VBox Boot - Remaximize - Reboot.log added |
---|
comment:2 by , 15 years ago
Added a fresh log, started with window maximized, re-maximized, then rebooted.
Screen is 1650x1050, on start up it says:
handleDisplayResize(): uScreenId = 0, pvVRAM=05e00000 w=1152 h=864
After the restore and re-maximize it says:
handleDisplayResize(): uScreenId = 0, pvVRAM=05e00000 w=1680 h=941
comment:3 by , 15 years ago
I confirm this bug.
It is reproducible with Linux as host. For example Linux host and WinXP guest.
comment:4 by , 15 years ago
This but looks be a duplicate of http://www.virtualbox.org/ticket/3004 Anyway I suggest to mark http://www.virtualbox.org/ticket/3004 as a duplicate of this bug because this one describes better the bug.
comment:7 by , 15 years ago
comment:8 by , 15 years ago
finex: you might want to test this with 3.1 beta 2 and the Guest Additions there. It at least seems to work here with the current revision of VBox.
comment:9 by , 15 years ago
I just tried 'VirtualBox-3.1.0_BETA2-55019-Win.exe' from the forum, with the included 'Guest Additions 3.1.0r55019' and the problem still remains for me.
comment:10 by , 15 years ago
The current version 3.1 (stable) still has this effect. Additionally, the auto size feature does not work when switching to full screen mode. The virtual resolutions stays the same, I get black bars at the top and bottom of the (fullscreen) virtual machine.
comment:11 by , 15 years ago
Also confirm that it's still an issue with 3.1.0 Final, using XP and Windows 7 as host.
comment:12 by , 15 years ago
Whoisrich,
I ran into this very problem with VirtualBox 3.1.2 on my Mac OSX Host with WinXP Guest. While looking for solutions, I came across your Bug Tracker ticket. You've done a nice job describing the problem.
I posted the issue recently to the Mac OSX Host forum and looks like we have found a couple of ways of resolving this problem.
Check out the thread here => http://forums.virtualbox.org/viewtopic.php?f=8&t=26050
I realize you're on a Windows Host and the fix might have slightly different steps. Let me know if this works for you!
Best Wishes,
Hip Hoppity
comment:13 by , 15 years ago
I did not have an entry for "GUI/MaxGuestResolution" so added it, and tried:
<ExtraDataItem name="GUI/MaxGuestResolution" value="auto"/> <ExtraDataItem name="GUI/MaxGuestResolution" value="any"/> <ExtraDataItem name="GUI/MaxGuestResolution" value="1920,1080"/>
But sadly none of them affected the guest resolution.
comment:14 by , 15 years ago
Whoisrich,
Sorry to hear editing your VirtualBox.xml file didn't fix the fullscreen resolution problem for your case.
Some of the Mac OSX users have had luck sending the commands from the command line (using the Terminal utility). Perhaps sending the command:
VBoxManage setextradata global GUI/MaxGuestResolution any
from the command line on your Host machine will give you back your fullscreen resolution of your Guests after restart?
Good luck with your continued efforts on this bug.
comment:15 by , 15 years ago
Yes that worked ! :D
Also now realise that I did the manual editing wrong, I mis-understood virtualbox.xml to be the virtual machine XML, when infact it meant:
c:\users\USERNAME\.virtualbox\virtualbox.xml c:\documents and settings\USERNAME\.virtualbox\virtualbox.xml
So thank you HipHoppity.
comment:16 by , 15 years ago
Whoisrich,
Excellent -- glad that worked for you!
Hopefully this info will help the developers locate the source of this bug . . .
comment:17 by , 15 years ago
Component: | other → GUI |
---|---|
Summary: | Maximize causes incorrect guest resolution at startup → Maximize causes incorrect guest resolution at startup (GUI/MaxGuestResolution) |
comment:18 by , 15 years ago
Summary: | Maximize causes incorrect guest resolution at startup (GUI/MaxGuestResolution) → Maximize causes incorrect guest resolution at startup => Fixed in 3.1.4 |
---|
VBox 3.1.4 Beta 2 will contain a better fix.
comment:19 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:20 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I am re-opening as this has not been fixed, and borders now re-appear when you reboot a correctly maximized guest.
- Fresh install of Windows 7 64 Bit
- Virtualbox 3.1.4 with fresh machine config.
- 1920x1080 Host Resolution.
Attaching the VM log where it is started, window restored, window maximized, rebooted, window restored, window maximized, shutdown.
My C:\Users\Logon\.VirtualBox\VirtualBox.xml had no 'MaxGuestResolution' entry. Manually adding the entry with a value of 'any' once again fixed the problem.
comment:21 by , 15 years ago
Summary: | Maximize causes incorrect guest resolution at startup => Fixed in 3.1.4 → Maximize causes incorrect guest resolution at startup |
---|---|
Version: | VirtualBox 3.0.10 → VirtualBox 3.1.4 |
comment:23 by , 10 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | reopened → closed |
This is still an issue in 3.0.12
Some further information:
Once both the window and the guest O/S is maximized, if you reboot the guest O/S it will have the correct resolution on the next start-up.
This makes it unlikely to be a Guest Additions problem, and more likely that the parent window gets it's own size wrong when first starting maximized.