Maybe as a temporary fix, we could just pass a shortened string to the
popup... bounds checking is better, but no crash and less-than-perfect
with a "TODO" is better than crashing :)

On Tue, Jun 24, 2003 at 09:24:02AM -0300, Rob Shortt wrote:
> 
> Yeah, I know about that one, it is annoying.  I have plans to look into 
> that soon.  I have code in there that was supposed to, or used to 
> prevent this (It wouldn't try to draw it if it was out of bounds) but 
> there is a bug I have to track down.  I will also be making popup boxes 
> have the ability to have variable height, to expand in height based on 
> how much stuff it needs to show.
> 
> -Rob
> 
> Aubin Paul wrote:
> >Hey Rob, 
> >
> >thought you might want to know about this. If you try to delete a file
> >with a long filename (I'm presuming it doesn't fit in the box) Freevo
> >will crash with the following:
> >
> >  File "src/gui/Button.py", line 169, in _draw
> >      self.parent.surface.blit(self.surface, self.get_position())
> >      TypeError: invalid destination position for blit
> >
> >This occured when trying to delete:
> >
> >06-23_09:00_-_The_Simpsons_22_Short_Films_About_Springfield.mpg
> >
> >It worked fine with shorter files. 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to