View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013706VTK(No Category)public2012-12-06 08:362015-01-09 13:57
ReporterGiuseppe D'Angelo 
Assigned ToDavid Gobbi 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.8.0 
Target VersionFixed in Version 
Summary0013706: vtkXOpenGLRenderWindow doesn't honour crosshair cursors
DescriptionIn 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.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Filespatch file icon vtkXOpenGLRenderWindow_cursor_fix.patch [^] (2,669 bytes) 2012-12-06 08:36 [Show Content]

 Relationships

  Notes
(0030307)
David Gobbi (developer)
2013-02-04 23:34

Patch merged into master as commit 85499309 on Feb 3, 2013.

 Issue History
Date Modified Username Field Change
2012-12-06 08:36 Giuseppe D'Angelo New Issue
2012-12-06 08:36 Giuseppe D'Angelo File Added: vtkXOpenGLRenderWindow_cursor_fix.patch
2013-02-04 23:32 David Gobbi Assigned To => David Gobbi
2013-02-04 23:32 David Gobbi Status backlog => tabled
2013-02-04 23:34 David Gobbi Note Added: 0030307
2013-02-04 23:34 David Gobbi Status tabled => closed
2013-02-04 23:34 David Gobbi Resolution open => fixed
2015-01-09 13:57 David Gobbi Source_changeset_attached => VTK master 066564bd
2015-01-09 13:57 David Gobbi Source_changeset_attached => VTK master 85499309


Copyright © 2000 - 2018 MantisBT Team