vtkXOpenGLRenderWindow doesn't properly reset to the default cursor
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
VTK 5.10.1, in vtkXOpenGLRenderWindow.cxx:
1985 if (shape == VTK_CURSOR_DEFAULT) 1986 { 1987 XUndefineCursor(this->DisplayId,this->WindowId); 1988 return; 1989 }
I think this is wrong. This should reset the cursor to the one was set with SetCurrentCursor. Doing so will just switch to the parent's cursor instead.
As a test, set a non-arrow cursor with SetCurrentCursor, then add a widget which changes the mouse cursor (f.i. a vtkScalarBarWidget). When moving the mouse outside the widget, it'll reset the cursor to a plain arrow.