Bugs item #1474229, was opened at 2006-04-21 10:27
Message generated for change (Comment added) made by tack
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1474229&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.0.x svn
Status: Closed
Resolution: None
Priority: 5
Submitted By: Matthew Marshall (mmarshall_)
Assigned to: Nobody/Anonymous (nobody)
Summary: Infinite recursion in kaa.canvas

Initial Comment:
I think I found a small bug it kaa.canvas.  
Reproduction:

"""
import kaa, kaa.canvas

vbox1 = kaa.canvas.VBox()
container = kaa.canvas.Container()
vbox2 = kaa.canvas.VBox()
text = kaa.canvas.Text("Hello world!")
vbox2.add_child(text)
container.add_child(vbox2)
vbox1.add_child(container)

canvas = kaa.canvas.X11Canvas((640, 480))
canvas.add_child(vbox1)

kaa.main()
"""

This will result in an infinite recursion.

A simple workaround is to explicitly set the width 
and height of 'container' before calling kaa.main(). 



----------------------------------------------------------------------

Comment By: Jason Tackaberry (tack)
Date: 2006-09-27 16:28

Message:
Logged In: YES 
user_id=19625

Thanks for providing a test case.  I will run this against
the  new code.

----------------------------------------------------------------------

Comment By: Dirk Meyer (dischi)
Date: 2006-09-27 15:44

Message:
Logged In: YES 
user_id=33647

This is a design problem in kaa.canvas. A rewrite is in
progress and will fix this.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1474229&group_id=46652

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to