VirtualBox

Opened 14 years ago

Closed 9 years ago

#5372 closed defect (obsolete)

Maximize causes incorrect guest resolution at startup — at Version 23

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 Frank Mehnert)

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.

Change History (27)

by Richard Perry, 14 years ago

by Richard Perry, 14 years ago

comment:1 by Richard Perry, 14 years ago

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.

by Richard Perry, 14 years ago

comment:2 by Richard Perry, 14 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 finex, 14 years ago

I confirm this bug.

It is reproducible with Linux as host. For example Linux host and WinXP guest.

comment:4 by finex, 14 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:6 by finex, 14 years ago

Other to old bugs similar (or probably exactly this) are:

http://www.virtualbox.org/ticket/1584

and

http://www.virtualbox.org/ticket/1779

comment:7 by Michael Thayer, 14 years ago

I marked

#2039

and

#3004

as duplicates. I don't think that the other two were.

comment:8 by Michael Thayer, 14 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 Richard Perry, 14 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 Florian, 14 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 Richard Perry, 14 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 Bill Geisler, 14 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 Richard Perry, 14 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 Bill Geisler, 14 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 Richard Perry, 14 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 Bill Geisler, 14 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 Frank Mehnert, 14 years ago

Component: otherGUI
Summary: Maximize causes incorrect guest resolution at startupMaximize causes incorrect guest resolution at startup (GUI/MaxGuestResolution)

comment:18 by Frank Mehnert, 14 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 Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed

comment:20 by Richard Perry, 14 years ago

Resolution: fixed
Status: closedreopened

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.

by Richard Perry, 14 years ago

Attachment: VBox 3.1.4 March 2010.log added

VM log on a fresh install of 3.1.4

comment:21 by Frank Mehnert, 14 years ago

Summary: Maximize causes incorrect guest resolution at startup => Fixed in 3.1.4Maximize causes incorrect guest resolution at startup
Version: VirtualBox 3.0.10VirtualBox 3.1.4

comment:22 by Jean thomas, 14 years ago

Thanks for sharing...

comment:23 by Frank Mehnert, 9 years ago

Description: modified (diff)
Resolution: obsolete
Status: reopenedclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use