[vtk-developers] [VTK 0013707]: vtkXOpenGLRenderWindow doesn't properly reset to the default cursor

Mantis Bug Tracker mantis at public.kitware.com
Thu Dec 6 08:57:04 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://paraview.org/Bug/view.php?id=13707 
====================================================================== 
Reported By:                Giuseppe D'Angelo
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13707
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-12-06 08:57 EST
Last Modified:              2012-12-06 08:57 EST
====================================================================== 
Summary:                    vtkXOpenGLRenderWindow doesn't properly reset to the
default cursor
Description: 
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-06 08:57 Giuseppe D'AngeloNew Issue                                    
======================================================================




More information about the vtk-developers mailing list