VirtualBox

Ticket #3067 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

VBoxSDL's fixedmode commad line parameter seems to be wrongly handled

Reported by: sebl Assigned to:
Priority: trivial Component: GUI
Version: VirtualBox 2.1.0 Keywords: vboxsdp fixedmode
Cc: Guest type: other
Host type: Linux

Description

If I start VBoxSDL with the following command line I get a 768x32 window.

$ VBoxSDL -fixedmode 1024 768 32

Looking at the source code, src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp seems to be inconsistent with src/VBox/Frontends/VBoxSDL/Framebuffer.{cpp,h}. VBoxSDLFB's constructors takes 7 parameters, while VBosSDL.cpp passes only six of them, `bool fKeepHostRes' seems to be ignored by mistake. The fix should be trivial. A quick'n'dirty solution patch is attached.

Attachments

VBoxSDL.cpp.patch (436 bytes) - added by sebl on 2009-01-17 13:52:03.

Change History

2009-01-17 13:52:03 changed by sebl

  • attachment VBoxSDL.cpp.patch added.

(in reply to: ↑ description ) 2009-01-17 14:02:46 changed by sebl

Forgot to add: As quick workaround, until official fix, it is possible to change -fixedmode's syntax since <bpp> parameter seems to be ignored, eg:

$ VBoxSDL -fixedmode 0 1024 768

2009-01-19 09:58:02 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.

Thanks for this report, fixed in SVN.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy