VBox 5 getting window height wrong
Gary Palmer
gpalmer at freebsd.org
Fri Jun 16 15:10:35 UTC 2017
After a bit of digging, I've commented out two lines in
src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
that call VBoxGlobal::normalizeGeometry. That stops client windows from
becoming midgets.
Looking further into the logs it looks like VBox gets told my desktop
is 5 pixels high (!)
00:00:00.525738 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 0 work area is actually resized to: 0x599 x 1920x5
and then sends a setGeometry() request with height set to -26.
If I get time I'll try and figure out Whisky Tango Foxtrot
On Thu, Jun 15, 2017 at 04:01:51PM +0100, Gary Palmer wrote:
>
> [ add cc of vbox at freebsd.org which is a better list for this I think ]
>
> Hi,
>
> Updating to the correct Guest Additions doesn't fix the issue. Whether
> GA is installed or not doesn't seem to make much difference to this problem
>
> I've also changed from QT4 (which I was using) to QT5 with no change
>
> Thanks,
>
> Gary
>
> On Thu, Jun 15, 2017 at 01:08:20PM +0200, Daniel Tihanyi wrote:
> > Hi,
> >
> > Do you have the right version of Guest Additions installed on your
> > guests? I also have Windows 10 as a VM in VirtualBox (though it's
> > FreeBSD 11), but it works for me without any problems.
> >
> > Daniel Tihanyi
> >
> > On Wed, 2017-06-14 at 11:54 +0100, Gary Palmer wrote:
> > > Hi,
> > >
> > > Ever since upgrading from vbox 4 (which had occasional window placement
> > > or size issues, but nothing serious), vbox 5 has consistently had a problem
> > > where on starting a VM the window height is always reset to a fraction of
> > > what it should be. If I size the window properly by hand, and then select
> > > View -> Adjust Window Size it goes back to the wrong size again.
> > >
> > > Anyone else seen this?
> > >
> > > With Win10 it's worse - unless I maximise the window it keeps getting reset
> > > to the wrong height, I think by communication with the additions installed
> > > in the client.
> > >
> > > virtualbox-ose-5.1.22_1 General-purpose full virtualizer for x86 hardware
> > > virtualbox-ose-kmod-5.1.22 VirtualBox kernel module for FreeBSD
> > >
> > > 10.3-RELEASE-p18
> > >
> > > Thanks,
> > >
> > > Gary
> > >
> > > P.S. Please keep me on CC as I am not subscribed to this list
> > > _______________________________________________
> > > freebsd-virtualization at freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> > > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"
> >
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe at freebsd.org"
>
More information about the freebsd-virtualization
mailing list