X error when undocking a QDockWidget which contains a QVTKWidget
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Putting a QVTKWidget into a QDockWidget works fine, as long as this QDockWidget does not get undocked. Undocking it causes an X error "BadWindow":
X Error: BadWindow (invalid Window parameter) 3 Major opcode: 3 (X_GetWindowAttributes) Resource id: 0x4a0001e
Followed by a couple of further error messages:
X Error: GLXBadCurrentWindow 159 Extension: 149 (Uknown extension) Minor opcode: 1 (Unknown request) Resource id: 0x4a0001e
with different Minor opcode's.
If the application has more than one QVTKWidget, none of these widgets is working anymore - no matter which parent widget it is contained in.