Hi,

One thing that's been annoying me a bit about recent ParaView (3.8 and
git head) on OS X 10.6.4, Qt-4.6.3 (x86-64) is that when I'm playing
animations with somewhat heavy datasets (around > 1 million cells in
structured / unstructured grids), it overruns 5 - 6 steps until it
stops playing when the Pause button on the VCR toolbar was hit.

I vaguely remember this annoyance started with transition of Qt
version to either 4.5 or 4.6 (I believe it was fine at least until Qt
4.3 / PV 3.6). Also, if I add 5 - 6 processEvents() calls in
pqVCRController::onTick() as attached below (kind of silly though),
the GUI becomes back responsive.

Is it only me who is having this problem? Any thoughts?

Thanks,
Takuya

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN


diff --git a/Qt/Components/pqVCRController.cxx 
b/Qt/Components/pqVCRController.cxx
index 362d322..17c747e 100644
--- a/Qt/Components/pqVCRController.cxx
+++ b/Qt/Components/pqVCRController.cxx
@@ -127,6 +127,11 @@ void pqVCRController::onTick()
 
   // process the events so that the GUI remains responsive.
   QApplication::processEvents();
+  QApplication::processEvents();
+  QApplication::processEvents();
+  QApplication::processEvents();
+  QApplication::processEvents();
+  QApplication::processEvents();
   emit this->timestepChanged();
 }
 
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to