MantisBT - VTK |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0003713 | VTK | (No Category) | public | 2006-09-05 06:30 | 2013-04-05 19:57 |
|
Reporter | akiyama | |
Assigned To | David Cole | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Project | |
Type | |
|
Summary | 0003713: vtkInteractorStyleRubberBandZoom exceeds a window frame. |
Description | A line is drawn from the reverse side when a mouse pointer is dragged to the outside of the window. sometimes SEGV. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | vtkInteractorStyleRubberBandZoom.cxx (7,204) 2008-06-23 09:52 https://www.vtk.org/Bug/file/6553/vtkInteractorStyleRubberBandZoom.cxx
vtkInteractorStyleRubberBandZoom.cxx.patch (2,052) 2008-08-08 14:47 https://www.vtk.org/Bug/file/6656/vtkInteractorStyleRubberBandZoom.cxx.patch |
|
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 |
Notes |
|
(0012459)
|
Gerrick Bivins
|
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
|
2008-08-08 14:48
|
|
Here is the patch for this fix. |
|
|
(0013041)
|
Dave DeMarle
|
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
|
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
|
2008-08-20 16:09
|
|
Fixed in CVS HEAD and in the VTK-5-2 branch... |
|