View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003713VTK(No Category)public2006-09-05 06:302013-04-05 19:57
Reporterakiyama 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003713: vtkInteractorStyleRubberBandZoom exceeds a window frame.
DescriptionA line is drawn from the reverse side when a mouse pointer is dragged to the outside of the window. sometimes SEGV.
TagsNo tags attached.
Project
Type
Attached Filescxx file icon vtkInteractorStyleRubberBandZoom.cxx [^] (7,204 bytes) 2008-06-23 09:52
patch file icon vtkInteractorStyleRubberBandZoom.cxx.patch [^] (2,052 bytes) 2008-08-08 14:47 [Show Content]

 Relationships

  Notes
(0012459)
Gerrick Bivins (reporter)
2008-06-23 09:52

I was able to reproduce this on Mac OSX 10.5.3. On windows, it crashed my application. I was able to fix this by adding a simple check in vtkInteractorStyleRubberBandZoom::OnMouseMove to ensure that the method doesn't continue to execute if the mouse moves outside of the bounds of the window (See attached).
(0012973)
Gerrick Bivins (reporter)
2008-08-08 14:48

Here is the patch for this fix.
(0013041)
Dave DeMarle (administrator)
2008-08-15 16:44

I've adapted and committed the patch. I'll mark it fixed once the dashboards have at it.

[kargad:ParaView3/VTK/Rendering] demarle% cvs commit -m "BUG: 0003713. Dragging rubber band off window could crash. Thanks Gerrick Bivins for the patch." vtkInteractorStyleRubberBand*
Commit to directory "ParaView3/VTK/Rendering" lies in external project VTK
/cvsroot/ParaView3/ParaView3/VTK/Rendering/vtkInteractorStyleRubberBand2D.cxx,v <-- vtkInteractorStyleRubberBand2D.cxx
new revision: 1.5; previous revision: 1.4
/cvsroot/ParaView3/ParaView3/VTK/Rendering/vtkInteractorStyleRubberBand3D.cxx,v <-- vtkInteractorStyleRubberBand3D.cxx
new revision: 1.5; previous revision: 1.4
/cvsroot/ParaView3/ParaView3/VTK/Rendering/vtkInteractorStyleRubberBandPick.cxx,v <-- vtkInteractorStyleRubberBandPick.cxx
new revision: 1.9; previous revision: 1.8
/cvsroot/ParaView3/ParaView3/VTK/Rendering/vtkInteractorStyleRubberBandZoom.cxx,v <-- vtkInteractorStyleRubberBandZoom.cxx
new revision: 1.8; previous revision: 1.7
(0013120)
David Cole (developer)
2008-08-20 16:08

Merged to VTK-5-2:

    /cvsroot/VTK/VTK/Rendering/vtkInteractorStyleRubberBand2D.h,v <-- Rendering/vtkInteractorStyleRubberBand2D.h
    new revision: 1.3.2.1; previous revision: 1.3
    /cvsroot/VTK/VTK/Rendering/vtkInteractorStyleRubberBand2D.cxx,v <-- Rendering/vtkInteractorStyleRubberBand2D.cxx
    new revision: 1.4.2.1; previous revision: 1.4
    /cvsroot/VTK/VTK/Rendering/vtkInteractorStyleRubberBand3D.h,v <-- Rendering/vtkInteractorStyleRubberBand3D.h
    new revision: 1.3.2.1; previous revision: 1.3
    /cvsroot/VTK/VTK/Rendering/vtkInteractorStyleRubberBand3D.cxx,v <-- Rendering/vtkInteractorStyleRubberBand3D.cxx
    new revision: 1.4.2.1; previous revision: 1.4
    /cvsroot/VTK/VTK/Rendering/vtkInteractorStyleRubberBandPick.cxx,v <-- Rendering/vtkInteractorStyleRubberBandPick.cxx
    new revision: 1.8.36.1; previous revision: 1.8
    /cvsroot/VTK/VTK/Rendering/vtkInteractorStyleRubberBandZoom.cxx,v <-- Rendering/vtkInteractorStyleRubberBandZoom.cxx
    new revision: 1.7.2.1; previous revision: 1.7
(0013121)
David Cole (developer)
2008-08-20 16:09

Fixed in CVS HEAD and in the VTK-5-2 branch...

 Issue History
Date Modified Username Field Change
2008-06-23 09:52 Gerrick Bivins Note Added: 0012459
2008-06-23 09:52 Gerrick Bivins File Added: vtkInteractorStyleRubberBandZoom.cxx
2008-08-08 14:47 Gerrick Bivins File Added: vtkInteractorStyleRubberBandZoom.cxx.patch
2008-08-08 14:48 Gerrick Bivins Note Added: 0012973
2008-08-15 16:44 Dave DeMarle Note Added: 0013041
2008-08-20 16:08 David Cole Note Added: 0013120
2008-08-20 16:08 David Cole Assigned To Mathieu Malaterre => David Cole
2008-08-20 16:09 David Cole Status tabled => @80@
2008-08-20 16:09 David Cole Resolution open => fixed
2008-08-20 16:09 David Cole Note Added: 0013121
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2013-04-05 19:57 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team