VirtualBox

Opened 14 years ago

Closed 8 years ago

#7903 closed defect (obsolete)

visible window size too small and scrollbars always present

Reported by: mwisnicki Owned by:
Component: GUI Version: VirtualBox 4.0.0
Keywords: Cc:
Guest type: other Host type: Windows

Description (last modified by aeichner)

My host display resolution is: 1680x1050 When guest resolution (using vesa driver) is set to 1280x1024 there are horizontal and vertical scrollbars. Increasing horizontal window size does not resize visible guest area and scrollbar is still present.

This bug was in VirtualBox since the beginning.

Attachments (2)

vbox-bad-win-size.png (244.0 KB ) - added by mwisnicki 14 years ago.
haiku-r1a2-2011-01-05-18-06-55.log (67.0 KB ) - added by mwisnicki 14 years ago.

Download all attachments as: .zip

Change History (15)

by mwisnicki, 14 years ago

Attachment: vbox-bad-win-size.png added

comment:1 by mwisnicki, 14 years ago

I messed up submission, host should be Windows (7) and guest is Other (Haiku).

comment:2 by Frank Mehnert, 14 years ago

Guest type: Windowsother
Host type: otherWindows

comment:3 by Perry G, 14 years ago

Ever thought to read the HAIKU HOW to? http://www.haiku-os.org/node/3872

Hint: Install the guest additions.

comment:4 by mwisnicki, 14 years ago

Haiku is just an example. Bug is in VirtualBox and it should be fixed there.

comment:5 by Frank Mehnert, 14 years ago

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

by mwisnicki, 14 years ago

comment:6 by mwisnicki, 14 years ago

Attaching log as requested, though there is nothing really interesting in there.

This is what's logged when switching to 1280x1024:

00:00:51.494 Display::handleDisplayResize():
uScreenId = 0, pvVRAM=000000000a7b0000 w=1280 h=1024 bpp=32 cbLine=0x1400, flags=0x1

To me it looks as UI bug. It can be easily reproduced with any Host/Guest OS combination.

comment:7 by Frank Mehnert, 14 years ago

Unfortunately we can not reproduce your problem. We cannot fix something we cannot reproduce.

comment:8 by Frank Mehnert, 14 years ago

No, I take that back.

comment:9 by Frank Mehnert, 14 years ago

Actually if your display is 1680x1050 then there is not enough space to display your guest window because 1024 plus the size of your host panel is bigger than 1050.

comment:10 by mwisnicki, 14 years ago

But there is enough horizontal space for horizontal scrollbar to not be necessary. Look at the screenshot - there is plenty of space to the left and right.

comment:11 by mwisnicki, 13 years ago

BTW it is always 17 pixels short of expected width which happens to be system width of scrollbar. Increasing this width in control panel enlarges missing area.

I think that the bug may be somewhere in UIMachineViewNormal::calculateDesktopGeometry. Maybe you need to get geometry of widget contained within QAbstractScrollArea to exclude scrollbars from calculation ?

comment:12 by mihi42, 11 years ago

Same issue here (vbox 4.2.16) - if the host window height is smaller than guest resolution but width is greater than guest resolution and there are no guest additions that resize the guest, there is one scrollbar too many (there should be only vertical scroll bar but no horizontal one). Pressing Host+A as suggested on IRC does not fix it; it will resize the width back to the guest width, but the scrollbar that is needed for scrolling the space of the other scrollbar remains.

Except for the Host+A behaviour (which can only be reproduced if the host screen is too small to contain the full guest screen, which is likely with widescreen hosts), it can be most easily reproduced (because you can get there fastest) in the boot device selection screen, just resize the guest window and you should see the wrong scrollbar.

comment:13 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette