<br><font size=2 face="sans-serif">The error is : </font>
<br><font size=2 face="sans-serif">the first time the image is drawn, it is ok, but on the first refreshing, the windows go black.</font>
<br>
<br><font size=2 face="sans-serif">when I close the application, I have the following error messages : </font>
<br><font size=2 face="sans-serif">X Error of failed request: GLXBadDrawable</font>
<br><font size=2 face="sans-serif">Major opcode of failed request: 145 (GLX)</font>
<br><font size=2 face="sans-serif">Minor opcode of failed request: 5 (X_GLXMakeCurrent)</font>
<br><font size=2 face="sans-serif">Serial number of failed request: 56</font>
<br><font size=2 face="sans-serif">Current serial number in output stream: 56</font>
<br>
<br><font size=2 face="sans-serif">PS: I tried the same code in c++, it works well.</font>
<br><font size=2 face="sans-serif">In python, it seems that the error comes from the creation of several windows. </font>
<br><font size=2 face="sans-serif">The fact that they share the same actors does not change anything.</font>
<br>
<br><font size=2 face="sans-serif">PS2: I use a modified vtkRenderWidget.py (cf &quot;[vtkusers] QVTK : pb with Qt designer and python&quot; thread, </font>
<br><font size=2 face="sans-serif">with line </font><font size=2 face="Courier New">106 &quot;apply(QWidget.__init__, (self,parent,name) + args, kw)&quot;</font><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">replaced by </font><font size=2 face="Courier New">&quot;apply(QWidget.__init__, (self,parent,name) + args)&quot;)</font>
<br>
<br><font size=2 face="Courier New">Stephane</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>clinton@elemtech.com</b></font>
<p><font size=1 face="sans-serif">13/01/2006 18:43</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Pour : &nbsp; &nbsp; &nbsp; &nbsp;Stephane PLOIX/RETD/EDFGDF/FR@EDFGDF</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc : &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Objet : &nbsp; &nbsp; &nbsp; &nbsp;Re: [vtkusers] multiple vtkRenderWindow display error</font></table>
<br>
<br>
<br><font size=2 face="Courier New">&gt; From: &quot;Stephane PLOIX&quot; &lt;stephane.ploix@edf.fr&gt;<br>
&gt; Subject: [vtkusers] multiple vtkRenderWindow display error<br>
&gt; To: vtkusers@vtk.org<br>
&gt; <br>
&gt; Skipped content of type multipart/alternative-------------- next part --------------<br>
&gt; A non-text attachment was scrubbed...<br>
&gt; Name: test.py<br>
&gt; Type: application/octet-stream<br>
&gt; Size: 1210 bytes<br>
&gt; Desc: not available<br>
&gt; Url : http://public.kitware.com/pipermail/vtkusers/attachments/20060113/6e251d82/test-0001.obj<br>
<br>
<br>
Can you please post on the VTK list what the error message is?<br>
<br>
Clint<br>
<br>
<br>
</font>
<br>
<br>