Follow-up Comment #11, bug #17650 (project mypaint):

[Bah, let's put my emailed reply on the tracker...]

Nice catch. This is part of the cursor reset code that fires while we return
from the insensitive-&-spin-while-saving state, and it looks like the GDK
window for your dialog went away while the GTK window was still valid.
Probably perfectly sane under the X11/gdk model, though.

We don't use threading, but the wrapped func() calls the gtk main loop
multiple times. That might well destruct the underlying window.

Either we catch the exception, or try to keep a ref to the gdk window
throughout the wrapper. Catching the exception and explaining why we get it
sometimes feels better Python to me (easier to ask forgiveness, and all
that).


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17650>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to