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 <Surface(32x45x32 SW)>
> 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 0xb171108c>: (9, 22, 28, 45)
>   <gui.LetterBoxGroup.LetterBox instance at 0xb170ee8c>: (387, 0, 32, 45)
>   <gui.LetterBoxGroup.LetterBoxGroup instance at 0xb170f4ac>: (99, 116,
> 1223, 45)
>   <gui.Container.Container instance at 0xb170f40c>: (0, 0, 1420, 225)
>   <gui.InputBox.InputBox instance at 0xb170f38c>: (10, 338, 1420, 225)
>   <menu.MenuWidget instance at 0xb32cf54c>: (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

Reply via email to