[Paraview] unresponsive Pause?

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Tue Jul 20 22:38:33 EDT 2010


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();
 }
 


More information about the ParaView mailing list