On Tue, Dec 16, 2003 at 05:54:21AM -0500, [EMAIL PROTECTED] wrote:
> While experimenting with the use of the Gnome canvas for 2D CAD, I have 
> been puzzled over a problem where the gnome canvas becomes unresponsive, 
> yet the application continues to run and no error messages are issued. The 
> problem seems to occur when I am "picking" the second of 2 points to 
> create a line segment. Actually, the points are 2 small 
> GnomeCanvasEllipses and the line segment is a GnomeCanvasLine that goes 
> from the center of one ellipse to the center of the other. If my cursor is 
> "in the way of" the GnomeCanvasLine being created as I make the second 
> pick, the canvas hangs. Am I doing something wrong in my code?

So help me out here -- is your app stuck in an infinite loop, or does a
certain call never return? If you have a hard time finding out (prints
help!), what does a profile run of about 2 minutes post-hang say? 

If you manage to reduce the problem to a specific GTK+ call you're
performing, it's either a bug in the PyGTK wrapper or a Gnome/GTK+ bug
that needs to be filed into Bugzilla -- though you should make sure it
hasn't been fixed in a recent version. You can take a peek at the PyGTK
code and seeing if you're stuck there (gdb helps!).

If you're stuck in an infinite loop in user code, I expect the problem
to be on your side -- but that's where all bugs really reside, right?
<wink>

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to