MantisBT - VTK
View Issue Details
0013706VTK(No Category)public2012-12-06 08:362015-01-09 13:57
Giuseppe D'Angelo 
David Gobbi 
normalminorhave not tried
closedfixed 
5.8.0 
 
TBD
incorrect functionality
0013706: vtkXOpenGLRenderWindow doesn't honour crosshair cursors
In VTK 5.10.1 (again, the bugtracker doesn't allow me to set that version number), vtkXOpenGLRenderWindow.cxx:

   1991 switch (shape)
   1992 {
   1993 case VTK_CURSOR_CROSSHAIR: // XC_crosshair sucks on linux, default to arrow
   1994 case VTK_CURSOR_ARROW:
   1995 if (!this->XCArrow)
   1996 {
   1997 this->XCArrow = XCreateFontCursor(this->DisplayId, XC_top_left_arrow);
   1998 }
   1999 XDefineCursor(this->DisplayId, this->WindowId, this->XCArrow);
   2000 break;

This makes no sense these days with cursor themes. A simple tentative fix is attached.
No tags attached.
patch vtkXOpenGLRenderWindow_cursor_fix.patch (2,669) 2012-12-06 08:36
https://www.vtk.org/Bug/file/9352/vtkXOpenGLRenderWindow_cursor_fix.patch
Issue History
2012-12-06 08:36Giuseppe D'AngeloNew Issue
2012-12-06 08:36Giuseppe D'AngeloFile Added: vtkXOpenGLRenderWindow_cursor_fix.patch
2013-02-04 23:32David GobbiAssigned To => David Gobbi
2013-02-04 23:32David GobbiStatusbacklog => tabled
2013-02-04 23:34David GobbiNote Added: 0030307
2013-02-04 23:34David GobbiStatustabled => closed
2013-02-04 23:34David GobbiResolutionopen => fixed
2015-01-09 13:57David GobbiSource_changeset_attached => VTK master 066564bd
2015-01-09 13:57David GobbiSource_changeset_attached => VTK master 85499309

Notes
(0030307)
David Gobbi   
2013-02-04 23:34   
Patch merged into master as commit 85499309 on Feb 3, 2013.