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 )
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)
Change History (15)
by , 14 years ago
Attachment: | vbox-bad-win-size.png added |
---|
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Guest type: | Windows → other |
---|---|
Host type: | other → Windows |
comment:3 by , 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 , 14 years ago
Haiku is just an example. Bug is in VirtualBox and it should be fixed there.
by , 14 years ago
Attachment: | haiku-r1a2-2011-01-05-18-06-55.log added |
---|
comment:6 by , 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 , 14 years ago
Unfortunately we can not reproduce your problem. We cannot fix something we cannot reproduce.
comment:9 by , 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 , 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 , 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 , 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 , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
I messed up submission, host should be Windows (7) and guest is Other (Haiku).