[Paraview] Screen becomes white
clinton at elemtech.com
clinton at elemtech.com
Thu Jul 24 17:49:50 EDT 2008
On Thursday 24 July 2008 2:00:18 pm Chaman Singh Verma wrote:
> Hello,
>
> Today I had built ParaView 3.2.3 on an AMD64 linux machine. Whenever we
> click on any menu, the screen
> become white and the object disappears, but after
> clicking the mouse in the window, the background color and the objects come
> back to the original state.
> This behaviour is painful when we have to interact
> very often with parameters.
>
> Can someone give suggestions ?
Can you try the attached patch to modify the code and let me know if it fixes
the problem.
Clint
-------------- next part --------------
? commit.msg
? out
? patch
? patch.txt
Index: QVTKWidget.cxx
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/VTK/GUISupport/Qt/QVTKWidget.cxx,v
retrieving revision 1.36
diff -u -r1.36 QVTKWidget.cxx
--- QVTKWidget.cxx 19 Jun 2007 15:09:05 -0000 1.36
+++ QVTKWidget.cxx 24 Jul 2008 21:49:53 -0000
@@ -828,22 +828,24 @@
}
#endif
-void QVTKWidget::focusInEvent(QFocusEvent*)
+void QVTKWidget::focusInEvent(QFocusEvent* e)
{
// These prevent updates when the window
// gains or loses focus. By default, Qt
// does an update because the color group's
// active status changes. We don't even use
// color groups so we do nothing here.
+ QWidget::focusInEvent(e);
}
-void QVTKWidget::focusOutEvent(QFocusEvent*)
+void QVTKWidget::focusOutEvent(QFocusEvent* e)
{
// These prevent updates when the window
// gains or loses focus. By default, Qt
// does an update because the color group's
// active status changes. We don't even use
// color groups so we do nothing here.
+ QWidget::focusOutEvent(e);
}
More information about the ParaView
mailing list