Ticket #7903 (closed defect: obsolete)

Opened 8 years ago

Last modified 23 months ago

visible window size too small and scrollbars always present

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

Description (last modified by aeichner) (diff)

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.


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

Change History

Changed 8 years ago by mwisnicki

comment:1 Changed 8 years ago by mwisnicki

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

comment:2 Changed 8 years ago by frank

  • Host type changed from other to Windows
  • Guest type changed from Windows to other

comment:3 Changed 7 years ago by Perryg

Ever thought to read the HAIKU HOW to?

Hint: Install the guest additions.

comment:4 Changed 7 years ago by mwisnicki

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

comment:5 Changed 7 years ago by frank

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

Changed 7 years ago by mwisnicki

comment:6 Changed 7 years ago by mwisnicki

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 Changed 7 years ago by frank

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

comment:8 Changed 7 years ago by frank

No, I take that back.

comment:9 Changed 7 years ago by frank

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 Changed 7 years ago by mwisnicki

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 Changed 7 years ago by mwisnicki

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 Changed 5 years ago by mihi42

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 Changed 23 months ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use