Hello everyone.

I've made a program with PyQt4 that uses VTK. This bug probably occurs with QT too.

The base class of the program is a QWidget with :
Qt Code:
  1. self.setAttribute(QtCore.Qt.WA_TranslucentBackground, True)
  2. self.setWindowFlags(QtCore.Qt.FramelessWindowHint)
To copy to clipboard, switch view to plain text mode 
(The window has a customized titlebar and I use the transparency to show a QGraphicsDropShadowEffect)

I have a QVTKRenderWindowInteractor embed inside my application. Everything works fine without or with one of the two lines above. But with these two lines together, the QVTKRenderWindowInteractor is completly transparent (I see behind the program, like a hole). All other QWidgets such as QPushbuttons are displayed normally.

I know this may seem quite precise, but it is very frustrating.

You can probably notice this bug with any example of VTK + pyqt and adding the two lines above.

Any help is welcome

Thank you..