I&#39;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">&lt;<a href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a>&gt;</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>

&gt;Thank you very much for your explanation! Now I&#39;ve understood what&#39;s<br>
&gt;the<br>
&gt;problem in iterate().<br>
&gt;<br>
&gt;On these lines I&#39;ve prepared a this little test case (in attach):<br>
&gt;<br>
&gt;Test 1<br>
&gt;<br>
&gt;$ python runner.py<br>
&gt;click on the button<br>
&gt;minimize/unminimize window to force a widget redraw, the window should<br>
&gt;be<br>
&gt;blank.<br>
&gt;you can click another time on the button, the event is catched but no<br>
&gt;&quot;button animation&quot; is performed<br>
&gt;<br>
&gt;Test2<br>
&gt;<br>
&gt;$ python runner.py<br>
&gt;open another console<br>
&gt;$ python runner_other_process.py<br>
&gt;click on the button of runner_other_process, this connects itself to<br>
&gt;the<br>
&gt;server in the first process<br>
&gt;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&#39;t supposed<br>
to do.<br>
<br>
I don&#39;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&#39;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>