VirtualBox

Opened 8 years ago

Closed 8 years ago

#15257 closed defect (fixed)

Auto-resize broken - Win10 Host & Guest

Reported by: LukeFranky Owned by:
Component: guest additions Version: VirtualBox 5.0.16
Keywords: Cc:
Guest type: Windows Host type: Windows

Description

I have a problem where my windowed guest will revert to 800x600 or a similar default resolution on the primary monitor after returning to my host after the screensaver comes on. The secondary screen stays as is.

The guest mouse is also becomes out of sync with the host. If I move the host mouse to the far right of the primary screen the guest will be closer to the middle. If I move the mouse to the left each pointer will be much closer together but still not in tune.

I normally work in maximized windowed mode. By that I mean the guest will be within a VirtualBox window but that will be maximized take up the most amount of space without hiding my host's taskbar.

This problem is becoming a show stopper. The only solution so far has been to restart the host entirely. It is starting to happen once or twice a day (I use VBox alot).

Things I have tried:

  • Restarting guest.
  • Resizing the VirtualBox windows.
  • Minimizing the VirtualBox.
  • Re-installing guest additions.
  • Switch to fullscreen and back.

Attachments (5)

21-03-2016 5-24-45 PM.png (138.0 KB ) - added by LukeFranky 8 years ago.
Screenshot of primary display
VBoxSVC.log (7.2 KB ) - added by LukeFranky 8 years ago.
selectorwindow.log (168 bytes ) - added by LukeFranky 8 years ago.
VBox.log (177.3 KB ) - added by Mihai Hanor 8 years ago.
resizelogs.zip (59.1 KB ) - added by Mihai Hanor 8 years ago.

Download all attachments as: .zip

Change History (16)

by LukeFranky, 8 years ago

Attachment: 21-03-2016 5-24-45 PM.png added

Screenshot of primary display

comment:1 by LukeFranky, 8 years ago

Now restarting the host doesn't help. The VM starts up at 1024 x 768.

Last edited 8 years ago by LukeFranky (previous) (diff)

comment:2 by Frank Mehnert, 8 years ago

Please attach a VBox.log file of such a VM session!

by LukeFranky, 8 years ago

Attachment: VBoxSVC.log added

by LukeFranky, 8 years ago

Attachment: selectorwindow.log added

comment:3 by LukeFranky, 8 years ago

This is now happening to my co-worker's host machines as well. Often occurs after the screensaver has been active.

comment:4 by Frank Mehnert, 8 years ago

Sorry, you attached the wrong log files. The VBox.log file I'm after can be found in the VM selector menu / Machine / Show Log ...

comment:5 by Mihai Hanor, 8 years ago

I have the same problem with my Windows 10 VM.

by Mihai Hanor, 8 years ago

Attachment: VBox.log added

comment:6 by Malcolm Watt, 8 years ago

I had a similar issue with my Windows 10 Host and Ubuntu 14.04 Guest.

A temporary fix was to remove the guest additions iso from the controller with the machine off, and to start the machine and reinsert guest additions. Upon reinsertion it prompted for re-installation, which I accepted. Once the process was complete I rebooted and re-sizing worked.

It should be taken into consideration that this is affecting Linux guests as well.

comment:7 by Mihai Hanor, 8 years ago

I've recompiled and installed the Guest Additions 5.0.20 with changeset 59518 rolled back, on my Windows 10 guest and the problem disappeared. Windows 8.1 (as guest) shows the same problem on my Windows 10 host. The last release version of GA that doesn't show this problem is version 5.0.14

Using the official GA binaries, you can go to Display settings -> Advanced settings, after the failed resize, and you will find the resolution in the list, the one that was supposed to be set by the Guest Additions. It can be set manually.

Last edited 8 years ago by Mihai Hanor (previous) (diff)

by Mihai Hanor, 8 years ago

Attachment: resizelogs.zip added

comment:8 by CoDEmanX, 8 years ago

I'm seeing something similar after updating to v5.0.20 r106931 (VirtualBox as well as Guest Additions), Windows 10 Pro 64bit as Host as well as guest:

  • the resolution is not automatically adjusted to the window size
  • it also stays at 1152x864 when I go to fullscreen mode
  • automatic resize is enabled however (also restarted after installing the guest additions)
  • I can manually adjust the resolution in the guest up to the window size, which means I need to go to fullscreen mode in order to make it the host monitor size of 1920x1080
  • If I go from full HD fullscreen mode back to windowed mode, the resolution is automatically reduced - but it doesn't work the other way around (enlarge)

comment:9 by sunlover, 8 years ago

This should be fixed in guest additions 5.1.x r108965+ and 5.0.x r108966+

Please download additions from https://www.virtualbox.org/wiki/Testbuilds

mhanor, the fix addresses the problem, which happens with changeset 59518.

Please test. Thanks!

comment:10 by Mihai Hanor, 8 years ago

I have tested GuestAdditions_5.1.3-108967 and guest auto-resizing works fine.

Last edited 8 years ago by Mihai Hanor (previous) (diff)

comment:11 by Frank Mehnert, 8 years ago

Resolution: fixed
Status: newclosed

Fix is part of 5.1.4.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use