MantisBT - VTK
View Issue Details
0000097VTK(No Category)public2003-07-25 08:562016-08-12 09:53
Dennis Jen 
Dave DeMarle 
lowminoralways
closedmoved 
 
 
0000097: Window Size in vtkCanvas Does Not Affect Interactor
There is a bug in vtkCanvas (line 31), where the interactor is initially set to 200 by 200. Consequenty, when the window is initially set to be larger than 200 x 200, the screen coordinates of the mouse position returned by the interactor are off by 200.

Calling resize on a vtkPanel does not result in the correct size in the interactor. However, manually (expanding/shrinking the window with the mouse) resizing the window fixes this problem.

The work around that I've found is to set the interactor of the render window to the size of my window when I first create my window.
No tags attached.
Issue History
2007-08-04 16:11Berk GeveciAssigned ToSean McBride =>
2007-08-04 16:11Berk GeveciSeveritymajor => minor
2007-08-04 16:11Berk GeveciStatus@80@ => backlog
2007-08-04 16:11Berk GeveciResolutionwon't fix => open
2007-08-04 16:11Berk GeveciSummaryGoodsite => Window Size in vtkCanvas Does Not Affect Interactor
2007-08-04 16:12Berk GeveciNote Deleted: 0008211
2007-08-04 16:12Berk GeveciProject@4@ => VTK
2008-08-29 17:36David ColeStatusbacklog => tabled
2008-08-29 17:36David ColeAssigned To => David Cole
2011-01-19 09:49David ColeAssigned ToDavid Cole =>
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2013-06-05 17:58Jean-Christophe Fillion-RobinNote Added: 0030956
2013-07-22 19:22Dave DeMarleNote Added: 0031224
2013-07-22 19:22Dave DeMarleStatusbacklog => expired
2013-07-22 19:22Dave DeMarleAssigned To => Dave DeMarle
2016-08-12 09:53Kitware RobotNote Added: 0036695
2016-08-12 09:53Kitware RobotStatusexpired => closed
2016-08-12 09:53Kitware RobotResolutionopen => moved

Notes
(0030956)
Jean-Christophe Fillion-Robin   
2013-06-05 17:58   
Does the problem still occur with VTK 5.10 ? VTK 6 ?
(0031224)
Dave DeMarle   
2013-07-22 19:22   
If the bug persists in 6.0.0, please reopen.
(0036695)
Kitware Robot   
2016-08-12 09:53   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.