Clinton, <div><br></div><div>Thanks for the suggestion. I added the line but it did not work.</div><div>I don't think you can disable the backing store for a widget based</div><div>on tracing through the qt widget repaint function. It looks like it</div>
<div>is hard coded for the OS.</div><div><br></div><div>Ironically, I already had Aero off. When I turned it on, the problem</div><div>went away. So to correct my previous post. The problem only </div><div>happens for me with windows7 and Aero off.</div>
<div><br></div><div>Unfortunately this only fixed the problem for my simplest test program.</div><div>When I add a vtkContourWidget to the Window, it still behaves the same</div><div>way. I'll see if I can get it down to a simple test case again.</div>
<div><br></div><div>Chuck<br><br><div class="gmail_quote">On Wed, Jun 29, 2011 at 10:36 AM, Clinton Stimpson <span dir="ltr"><<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I've heard reports of this too. How easily can you reproduce this?<br>
Can you try adding a line to see if it makes a difference?<br>
<br>
m_vtkWidget = new QVTKWidget( ui->displayWidget, QFlag(0));<br>
m_vtkWidget->setAttribute(Qt::WA_NoSystemBackground);<br>
<br>
Does turning Aero on/off make a difference?<br>
Does substituting QVTKWidget for QVTKWidget2 make a difference?<br>
<br>
I'd like to see a solution to this problem, but am unable to reproduce it.<br>
<br>
Clint<br>
<div><div></div><div class="h5"><br>
On Tuesday, June 28, 2011 03:18:16 pm Chuck Lloyd wrote:<br>
> I've seen a few posts about problems with QVTKWidget and resizing<br>
> but none of the solutions seem to fix this problem.<br>
><br>
> I don't see this problem with windowsXP.<br>
><br>
> On win7 when the window is made larger, it looks like the renderer<br>
> simply stops updating. It seems to get key events, because if I<br>
> switch to wireframe display (w) and then shrink the window,<br>
> the first update shows a wireframe model.<br>
><br>
> I'm using Qt 4.7.2 and VTK 5.6.1.<br>
><br>
> Is anyone still using QVTKWidget or are people moving to QVTKWidget2?<br>
><br>
> Links to pastebin of the code below:<br>
><br>
> main.cpp <a href="http://pastebin.com/QnBpaaSN" target="_blank">http://pastebin.com/QnBpaaSN</a><br>
> mainwindow.cpp <a href="http://pastebin.com/yVMyNbnm" target="_blank">http://pastebin.com/yVMyNbnm</a><br>
> mainwindow.h <a href="http://pastebin.com/Y2ZNTmk8" target="_blank">http://pastebin.com/Y2ZNTmk8</a><br>
> mainwindow.ui <a href="http://pastebin.com/syRzpBFB" target="_blank">http://pastebin.com/syRzpBFB</a><br>
> CMakeLists.txt <a href="http://pastebin.com/E2ZwsCQ0" target="_blank">http://pastebin.com/E2ZwsCQ0</a><br>
><br>
> Chuck<br>
</div></div></blockquote></div><br></div>