Yes, I know 1440x900 seems odd but I'm running a wide screen (16x9) flat panel
monitor. X runs beautifully at this resolution. I have other games that use
SDL at 16x9 fullscreen so I don't believe this is an bug in SDL, although I
have also suspected PyGame being at fault. Everything in the Freevo code said
it should work fine. I can tell you that 1024x768, a 4x3 resolution, also
breaks things. Could it actually be that PyGame was designed to run at 800x600
and below??
I'll run this past the PyGame guys and see what they have to say...
Thanks, Duncan!!!
Michael
Duncan Webb <[EMAIL PROTECTED]> wrote: Michael Beal wrote:
> I've already reported this to the list but I've been doing some
> investigating. I've found that leaving the geometry setting at 800x600
> allows everything to work fine. Changing to my native resolution of
> 1440x900 breaks things and give the following error:
>
> ******************************************************************
> Exception: subsurface rectangle outside surface area
> Please report the following lines to the freevo mailing list
> or with the subject '[Freevo-Bugreport] GUI' to
> [EMAIL PROTECTED]
>
> wanted (9, 22, 28, 45) for
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/freevo/gui/GUIObject.py", line
> 348, in get_surface
> return self.parent.surface.subsurface(subsurf)
> ValueError: subsurface rectangle outside surface area
> None
>
> GUIObject stack:
> <gui.Label.Label instance at 0xb17a150c>: (9, 22, 28, 45)
> <gui.LetterBoxGroup.LetterBox instance at 0xb17a13cc>: (387, 0, 32, 45)
> <gui.LetterBoxGroup.LetterBoxGroup instance at 0xb179ee6c>: (99, 116, 1223,
> 45)
> <gui.Container.Container instance at 0xb179e96c>: (0, 0, 1420, 225)
> <gui.InputBox.InputBox instance at 0xb179e7ac>: (10, 338, 1420, 225)
> <menu.MenuWidget instance at 0xb328d38c>: (0, 0, 0, 0)
>
> Configuration: 1440x900 0 0
>
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/freevo/main.py", line 321, in
> eventhandler
> app.eventhandler(event)
> File "/usr/lib/python2.4/site-packages/freevo/gui/InputBox.py", line
> 80, in eventhandler
> self.draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/GUIObject.py", line
> 267, in draw
> self._draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/Window.py", line
> 196, in _draw
> self.content.draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/GUIObject.py", line
> 267, in draw
> self._draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/Container.py", line
> 121, in _draw
> child.draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/GUIObject.py", line
> 267, in draw
> self._draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/LetterBoxGroup.py",
> line 190, in _draw
> Container._draw(self)
> File "/usr/lib/python2.4/site-packages/freevo/gui/Container.py", line
> 121, in _draw
> child.draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/LetterBoxGroup.py",
> line 313, in draw
> Button.draw(self)
> File "/usr/lib/python2.4/site-packages/freevo/gui/GUIObject.py", line
> 267, in draw
> self._draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/Button.py", line
> 142, in _draw
> Container._draw(self)
> File "/usr/lib/python2.4/site-packages/freevo/gui/Container.py", line
> 121, in _draw
> child.draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/GUIObject.py", line
> 267, in draw
> self._draw()
> File "/usr/lib/python2.4/site-packages/freevo/gui/Label.py", line 208,
> in _draw
> self.surface = self.get_surface()
> File "/usr/lib/python2.4/site-packages/freevo/gui/GUIObject.py", line
> 380, in get_surface
> raise Exception, e
> ValueError: subsurface rectangle outside surface area
>
>
>
> Question is: Which of the above GUI components is dependent on things
> remaining at 800x600 and why?
This could be a limitation of pygame/SDL or just a odd screen size.
1440x900 is a bit odd, better would be 1440x1080 as it keeps the same
ratio 4x3. Does the X server run quite happily at 1440x900, if your using X?
Don't really know, when I ran it at 1600x1200, with directfb it worked
fine but ok/cancel box had the buttons on top of each other and not side
by side.
Sorry that I can't help more as I run everything at 720x576.
Duncan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel