I've this problem also with consumer/producer over a LineReceiver protocol, should I submit a bug report?<br><br><div class="gmail_quote">2010/5/24 <span dir="ltr"><<a href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 08:39 am, <a href="mailto:gabriele.lanaro@gmail.com">gabriele.lanaro@gmail.com</a> wrote:<br>
>Thank you very much for your explanation! Now I've understood what's<br>
>the<br>
>problem in iterate().<br>
><br>
>On these lines I've prepared a this little test case (in attach):<br>
><br>
>Test 1<br>
><br>
>$ python runner.py<br>
>click on the button<br>
>minimize/unminimize window to force a widget redraw, the window should<br>
>be<br>
>blank.<br>
>you can click another time on the button, the event is catched but no<br>
>"button animation" is performed<br>
><br>
>Test2<br>
><br>
>$ python runner.py<br>
>open another console<br>
>$ python runner_other_process.py<br>
>click on the button of runner_other_process, this connects itself to<br>
>the<br>
>server in the first process<br>
>each window should redraw correctly<br>
<br>
</div>This may demonstrate a bug in gtk2reactor. It seems to be servicing<br>
network events to the exclusion of GUI events, which it isn't supposed<br>
to do.<br>
<br>
I don't see any obvious reason for this. Unfortunately glib2 (or<br>
pygtk2, perhaps) is ultimately in charge of the ordering/priority of<br>
these event handlers. gtk2reactor is just a thin layer on top of the<br>
glib2-supplied I/O notification APIs. But perhaps there's a way we<br>
could be invoking these APIs differently so that the GUI gets more of a<br>
chance to run.<br>
<br>
Jean-Paul<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</div></div></blockquote></div><br>